From f8b6de1cfc10ebec40756fe922991f00b3e8bf65 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 23 Jun 2023 16:03:46 +0200 Subject: [PATCH] store --- .circleci/config.yml | 7 ++++ .gitignore | 3 +- apps/remixdesktop/package.json | 66 ++++++++++++++++++++++++++-------- 3 files changed, 60 insertions(+), 16 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50aafb80f5..8aca377ef7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -112,6 +112,9 @@ jobs: key: remixdesktop-windows-deps-{{ checksum "apps/remixdesktop/yarn.lock" }} paths: - apps/remixdesktop/node_modules + - store_artifacts: + path: release/ + destination: remixdesktop-windows build-remixdesktop-mac: macos: @@ -155,6 +158,10 @@ jobs: yarn build:desktop cd apps/remixdesktop yarn dist + - store_artifacts: + path: release/ + destination: remixdesktop-mac + lint: docker: - image: cimg/node:20.0.0-browsers diff --git a/.gitignore b/.gitignore index 1aa8c7960f..2c9c31b407 100644 --- a/.gitignore +++ b/.gitignore @@ -59,4 +59,5 @@ testem.log .vscode/launch.json apps/remixdesktop/.webpack -apps/remixdesktop/out \ No newline at end of file +apps/remixdesktop/out +apps/remixdesktop/release/ diff --git a/apps/remixdesktop/package.json b/apps/remixdesktop/package.json index bf8991ecf6..3671c3427b 100644 --- a/apps/remixdesktop/package.json +++ b/apps/remixdesktop/package.json @@ -34,23 +34,59 @@ "node-pty": "^0.10.1" }, "build": { - "productName": "REMIX IDE", - "icon": "assets/icon.png", + "productName": "Remix IDE", + "appId": "org.ethereum.remix-ide", + "asar": true, + "files": [ + "build/**/*" + ], "mac": { - "target": { - "target": "default", - "arch": [ - "universal" - ] - }, - "category": "public.app-category.productivity" + "category": "public.app-category.productivity", + "target": [ + { + "target": "zip", + "arch": [ + "x64", + "arm64" + ] + }, + { + "target": "dmg", + "arch": [ + "x64", + "arm64", + "universal" + ] + } + ], + "darkModeSupport": true + }, + "dmg": { + "writeUpdateInfo": false + }, + "nsis": { + "createDesktopShortcut": "always", + "allowToChangeInstallationDirectory": true, + "oneClick": false, + "shortcutName": "Remix IDE", + "differentialPackage": false }, "win": { - "target": "nsis" + "target": [ + "zip", + "nsis" + ] }, - "extends": null, - "files": [ - "build/**/*" - ] + "linux": { + "target": [ + "deb", + "snap", + "AppImage" + ], + "category": "WebBrowser" + }, + "directories": { + "output": "release" + } } -} +} \ No newline at end of file