diff --git a/.gitignore b/.gitignore index f14c733..eb389d4 100644 --- a/.gitignore +++ b/.gitignore @@ -189,4 +189,5 @@ _Pvt_Extensions/ ModelManifest.xml /.vs/config/applicationhost.config -out/ \ No newline at end of file +out/ +.idea/ \ No newline at end of file diff --git a/ZplPrinter.sln b/ZplPrinter.sln deleted file mode 100644 index cfbfbab..0000000 --- a/ZplPrinter.sln +++ /dev/null @@ -1,48 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "ZplPrinter", "ZplPrinter\ZplPrinter.jsproj", "{2B889882-DCF5-4B87-9473-B6FCCC306081}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|ARM = Debug|ARM - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|ARM = Release|ARM - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|Any CPU.Deploy.0 = Debug|Any CPU - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|ARM.ActiveCfg = Debug|ARM - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|ARM.Build.0 = Debug|ARM - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|ARM.Deploy.0 = Debug|ARM - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|x64.ActiveCfg = Debug|x64 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|x64.Build.0 = Debug|x64 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|x64.Deploy.0 = Debug|x64 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|x86.ActiveCfg = Debug|x86 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|x86.Build.0 = Debug|x86 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Debug|x86.Deploy.0 = Debug|x86 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|Any CPU.Build.0 = Release|Any CPU - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|Any CPU.Deploy.0 = Release|Any CPU - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|ARM.ActiveCfg = Release|ARM - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|ARM.Build.0 = Release|ARM - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|ARM.Deploy.0 = Release|ARM - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|x64.ActiveCfg = Release|x64 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|x64.Build.0 = Release|x64 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|x64.Deploy.0 = Release|x64 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|x86.ActiveCfg = Release|x86 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|x86.Build.0 = Release|x86 - {2B889882-DCF5-4B87-9473-B6FCCC306081}.Release|x86.Deploy.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/ZplPrinter.zip b/ZplPrinter.zip deleted file mode 100644 index 9c007d5..0000000 Binary files a/ZplPrinter.zip and /dev/null differ diff --git a/ZplPrinter/ZplPrinter.jsproj b/ZplPrinter/ZplPrinter.jsproj deleted file mode 100644 index f2969e2..0000000 --- a/ZplPrinter/ZplPrinter.jsproj +++ /dev/null @@ -1,96 +0,0 @@ - - - - - Debug - AnyCPU - - - Debug - ARM - - - Debug - x64 - - - Debug - x86 - - - Release - AnyCPU - - - Release - ARM - - - Release - x64 - - - Release - x86 - - - - 2b889882-dcf5-4b87-9473-b6fccc306081 - - - - 12.0 - - - - - Windows - 8.1 - 8.1 - 12.0 - en-US - ZplPrinter_TemporaryKey.pfx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ZplPrinter/icons/icon-1024.png b/ZplPrinter/icons/icon-1024.png new file mode 100644 index 0000000..2f9cbdd Binary files /dev/null and b/ZplPrinter/icons/icon-1024.png differ diff --git a/ZplPrinter/icons/icon.svg b/ZplPrinter/icons/icon.svg new file mode 100644 index 0000000..86cb1aa --- /dev/null +++ b/ZplPrinter/icons/icon.svg @@ -0,0 +1,16 @@ + + + + + + + + + \ No newline at end of file diff --git a/icons/1024x1024.png b/icons/1024x1024.png new file mode 100644 index 0000000..960cc4b Binary files /dev/null and b/icons/1024x1024.png differ diff --git a/icons/128x128.png b/icons/128x128.png new file mode 100644 index 0000000..011c2bb Binary files /dev/null and b/icons/128x128.png differ diff --git a/icons/16x16-white.png b/icons/16x16-white.png new file mode 100644 index 0000000..27c9482 Binary files /dev/null and b/icons/16x16-white.png differ diff --git a/icons/16x16.png b/icons/16x16.png new file mode 100644 index 0000000..569da68 Binary files /dev/null and b/icons/16x16.png differ diff --git a/icons/24x24.png b/icons/24x24.png new file mode 100644 index 0000000..37ba517 Binary files /dev/null and b/icons/24x24.png differ diff --git a/icons/256x256.png b/icons/256x256.png new file mode 100644 index 0000000..09cfa38 Binary files /dev/null and b/icons/256x256.png differ diff --git a/icons/32x32.png b/icons/32x32.png new file mode 100644 index 0000000..8f54dc8 Binary files /dev/null and b/icons/32x32.png differ diff --git a/icons/48x48.png b/icons/48x48.png new file mode 100644 index 0000000..5f2615f Binary files /dev/null and b/icons/48x48.png differ diff --git a/icons/512x512.png b/icons/512x512.png new file mode 100644 index 0000000..efd2beb Binary files /dev/null and b/icons/512x512.png differ diff --git a/icons/64x64.png b/icons/64x64.png new file mode 100644 index 0000000..add4c5b Binary files /dev/null and b/icons/64x64.png differ diff --git a/icons/icon.icns b/icons/icon.icns new file mode 100644 index 0000000..fa3339c Binary files /dev/null and b/icons/icon.icns differ diff --git a/icons/icon.ico b/icons/icon.ico new file mode 100644 index 0000000..d8af45c Binary files /dev/null and b/icons/icon.ico differ diff --git a/main.js b/main.js index 22e85ce..c964d98 100644 --- a/main.js +++ b/main.js @@ -8,6 +8,7 @@ const createWindow = () => { height: 768, frame: false, resizable: false, + icon: __dirname + '/icons/512x512.png', webPreferences: { nodeIntegration: true, contextIsolation: false, diff --git a/package.json b/package.json index 019e686..5a4d6e8 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,10 @@ }, "config": { "forge": { - "packagerConfig": {}, + "packagerConfig": { + "name": "Zpl Printer", + "icon": "./icons/icon" + }, "makers": [ { "name": "@rabbitholesyndrome/electron-forge-maker-portable", @@ -45,7 +48,9 @@ { "name": "@electron-forge/maker-squirrel", "config": { - "name": "zplprinter" + "name": "ZplPrinter", + "iconUrl": "https://github.com/MrL0co/ZplPrinter/blob/electron/icons/icon.ico?raw=true", + "setupIcon": "./icons/icon.ico" } }, { @@ -57,7 +62,11 @@ }, { "name": "@electron-forge/maker-deb", - "config": {} + "config": { + "options": { + "icon": "./icons/png/512x512.png" + } + } }, { "name": "@electron-forge/maker-rpm",