Bladeren bron

pack for arm.

oldj 4 jaren geleden
bovenliggende
commit
1838afb70a
4 gewijzigde bestanden met toevoegingen van 13 en 5 verwijderingen
  1. 0 0
      app/ui/app.js
  2. 1 1
      app/ui/common.js.LICENSE.txt
  3. 1 1
      app/version.js
  4. 11 3
      scripts/make.js

File diff suppressed because it is too large
+ 0 - 0
app/ui/app.js


+ 1 - 1
app/ui/common.js.LICENSE.txt

@@ -19,7 +19,7 @@ object-assign
  * Licensed under MIT License
  */
 
-/*! SwitchHosts! common.js, 2021-01-13 15:35:08 */
+/*! SwitchHosts! common.js, 2021-01-15 10:20:21 */
 
 /**
  * @license

+ 1 - 1
app/version.js

@@ -1 +1 @@
-module.exports = [3, 5, 7, 5554]
+module.exports = [3, 5, 7, 5555]

+ 11 - 3
scripts/make.js

@@ -30,12 +30,18 @@ const cfg_common = {
 const makeApp = async () => {
   await builder.build({
     //targets: Platform.MAC.createTarget(),
-    mac: ['default'], // ['default', 'mas'],
-    win: ['nsis:ia32', 'nsis:x64', 'portable:ia32'],
-    linux: ['zip:x64', 'AppImage:x64'],
     config: {
       ...cfg_common,
       mac: {
+        target: [
+          {
+            target: 'dmg',
+            arch: [
+              'arm64',
+              'x64'
+            ]
+          }
+        ],
         category: 'public.app-category.productivity',
         icon: 'assets/app.icns',
         gatekeeperAssess: false,
@@ -66,6 +72,7 @@ const makeApp = async () => {
         artifactName: '${productName}_macOS_${version}(${buildVersion}).${ext}'
       },
       win: {
+        target: ['nsis:ia32', 'nsis:x64', 'portable:ia32'],
         icon: 'assets/app.ico',
         requestedExecutionLevel: 'requireAdministrator'
       },
@@ -79,6 +86,7 @@ const makeApp = async () => {
         artifactName: '${productName}_windows_portable_${version}(${buildVersion}).${ext}'
       },
       linux: {
+        target: ['zip:x64', 'AppImage:x64'],
         category: 'Development',
         artifactName: '${productName}_linux_${arch}_${version}(${buildVersion}).${ext}'
       }

Some files were not shown because too many files changed in this diff