barterdex app icons
10
ReadMe.md
|
@ -41,7 +41,7 @@ Refer to the original [electron-packager](https://github.com/electron-userland/e
|
|||
Change directory to BarterDEX-Simple and execute the following command to build the Linux app
|
||||
```shell
|
||||
cd BarterDEX-Simple
|
||||
electron-packager . --platform=linux --arch=x64 --icon=assets/icons/monaize/128x128.png --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite
|
||||
electron-packager . --platform=linux --arch=x64 --icon=assets/icons/barterdex/128x128.png --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite
|
||||
```
|
||||
change architecture build parameter to ```--arch=x32``` for 32 bit build
|
||||
|
||||
|
@ -49,19 +49,19 @@ change architecture build parameter to ```--arch=x32``` for 32 bit build
|
|||
Change directory to BarterDEX-Simple and execute the following command to build the OSX app
|
||||
```shell
|
||||
cd BarterDEX-Simple
|
||||
electron-packager . --platform=darwin --arch=x64 --icon=assets/icons/monaize/mnz.icns --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite
|
||||
electron-packager . --platform=darwin --arch=x64 --icon=assets/icons/barterdex/barterdex.icns --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite
|
||||
```
|
||||
|
||||
##### Windows
|
||||
Change directory to iguana and execute the following command to build the Windows app
|
||||
```shell
|
||||
dir iguana
|
||||
electron-packager . --platform=win32 --arch=x64 --icon=assets/icons/monaize/mnz.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
|
||||
electron-packager . --platform=win32 --arch=x64 --icon=assets/icons/barterdex/barterdex.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
|
||||
|
||||
# If generating 32bit desktop package
|
||||
electron-packager . --platform=win32 --arch=ia32 --icon=assets/icons/monaize/mnz.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
|
||||
electron-packager . --platform=win32 --arch=ia32 --icon=assets/icons/barterdex/barterdex.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
|
||||
|
||||
# To build both x64 and x86 desktop package
|
||||
electron-packager . --platform=win32 --arch=all --icon=assets/icons/monaize/mnz.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
|
||||
electron-packager . --platform=win32 --arch=all --icon=assets/icons/barterdex/barterdex.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
|
||||
```
|
||||
change architecture build parameter to ```--arch=x64``` for 64 bit build
|
||||
|
|
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 934 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 361 KiB |
After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 919 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 361 KiB |
4
main.js
|
@ -34,10 +34,10 @@ if (osPlatform === 'linux') {
|
|||
var MNZdICOIcon;
|
||||
|
||||
if (os.platform() === 'linux') {
|
||||
MNZdICOIcon = path.join(__dirname, '/assets/icons/monaize/128x128.png');
|
||||
MNZdICOIcon = path.join(__dirname, '/assets/icons/barterdex/128x128.png');
|
||||
}
|
||||
if (os.platform() === 'win32') {
|
||||
MNZdICOIcon = path.join(__dirname, '/assets/icons/monaize/agama_app_icon.ico');
|
||||
MNZdICOIcon = path.join(__dirname, '/assets/icons/barterdex/barterdex.ico');
|
||||
}
|
||||
|
||||
|
||||
|
|