diff --git a/assets/icons/1024x1024.png b/assets/icons/1024x1024.png deleted file mode 100644 index 5940b65a..00000000 Binary files a/assets/icons/1024x1024.png and /dev/null differ diff --git a/assets/icons/128x128.png b/assets/icons/128x128.png deleted file mode 100644 index 14e578d2..00000000 Binary files a/assets/icons/128x128.png and /dev/null differ diff --git a/assets/icons/16x16.png b/assets/icons/16x16.png deleted file mode 100644 index 260a46cb..00000000 Binary files a/assets/icons/16x16.png and /dev/null differ diff --git a/assets/icons/24x24.png b/assets/icons/24x24.png deleted file mode 100644 index 56172416..00000000 Binary files a/assets/icons/24x24.png and /dev/null differ diff --git a/assets/icons/256x256.png b/assets/icons/256x256.png deleted file mode 100644 index 755a6e51..00000000 Binary files a/assets/icons/256x256.png and /dev/null differ diff --git a/assets/icons/32x32.png b/assets/icons/32x32.png deleted file mode 100644 index 63423dfe..00000000 Binary files a/assets/icons/32x32.png and /dev/null differ diff --git a/assets/icons/48x48.png b/assets/icons/48x48.png deleted file mode 100644 index 74d87a0c..00000000 Binary files a/assets/icons/48x48.png and /dev/null differ diff --git a/assets/icons/512x512.png b/assets/icons/512x512.png deleted file mode 100644 index 313cd499..00000000 Binary files a/assets/icons/512x512.png and /dev/null differ diff --git a/assets/icons/64x64.png b/assets/icons/64x64.png deleted file mode 100644 index 6de0ec0e..00000000 Binary files a/assets/icons/64x64.png and /dev/null differ diff --git a/assets/icons/96x96.png b/assets/icons/96x96.png deleted file mode 100644 index 8255ab58..00000000 Binary files a/assets/icons/96x96.png and /dev/null differ diff --git a/package.json b/package.json index e45a20d7..3646b545 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,10 @@ "type": "git", "url": "git+https://github.com/kiomarzsss/oblivion-desktop.git" }, - "license": "MIT", + "license": "Restrictive", "main": "./src/main/main.ts", "scripts": { - "build": "concurrently \"npm run build:main\" \"npm run build:renderer\"", + "build": "ts-node script/dlWp.ts && concurrently \"npm run build:main\" \"npm run build:renderer\"", "build:dll": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts", "build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts", "build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts", @@ -172,7 +172,7 @@ "dist", "node_modules", "package.json", - "assets/" + "assets/bin" ], "afterSign": ".erb/scripts/notarize.js", "mac": { diff --git a/src/main/ipcListeners/wp.ts b/src/main/ipcListeners/wp.ts index 091e0546..d176e9cc 100644 --- a/src/main/ipcListeners/wp.ts +++ b/src/main/ipcListeners/wp.ts @@ -22,11 +22,12 @@ ipcMain.on('wp-start', async (event, arg) => { // https://stackoverflow.com/questions/55328916/electron-run-shell-commands-with-arguments let binPath = ''; if (platform === 'win32') { - binPath = path.join('assets', 'warp-plus.exe'); + binPath = path.join('assets', 'bin', 'warp-plus.exe'); } else { - binPath = path.join('assets', 'warp-plus'); + binPath = path.join('assets', 'bin', 'warp-plus'); } // TODO read flags from settings + console.log('🚀 - ipcMain.on - binPath:', binPath); wp = spawn(binPath); // TODO better approach