From 3e0a43a738e75f22fdb9d3e213b8d8172a1e5071 Mon Sep 17 00:00:00 2001 From: devl0rd Date: Thu, 23 Apr 2020 16:22:31 -0600 Subject: [PATCH] Added is dev. Greatly reduced package size. --- SkyNX-Streamer/Build.bat | 2 +- SkyNX-Streamer/icon.ico | Bin 0 -> 24356 bytes SkyNX-Streamer/main.js | 20 +++++++++++++++++++- SkyNX-Streamer/package-lock.json | 5 +++++ SkyNX-Streamer/package.json | 1 + icon.png | Bin 7588 -> 0 bytes 6 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 SkyNX-Streamer/icon.ico delete mode 100644 icon.png diff --git a/SkyNX-Streamer/Build.bat b/SkyNX-Streamer/Build.bat index 04ca53c..0d725b3 100644 --- a/SkyNX-Streamer/Build.bat +++ b/SkyNX-Streamer/Build.bat @@ -1,4 +1,4 @@ @echo off cls -electron-packager . SkyNXStreamer --platform=win32 --arch=ia32 +electron-packager . SkyNXStreamer --platform=win32 --arch=ia32 --icon=./icon.ico pause \ No newline at end of file diff --git a/SkyNX-Streamer/icon.ico b/SkyNX-Streamer/icon.ico new file mode 100644 index 0000000000000000000000000000000000000000..7bbd3bc6f64173a62576b4b24489663ee28a7905 GIT binary patch literal 24356 zcmeIa1z1*F+CTiz2qM^og006wNKUVC$*SgoeSKPJ1;fQc#I668UN_XLmNpUz$91cfM z|E+v~9S)a=>UQn=R*pjVNp8U5PMr8&-jBnLF{2024}0E|5r=yrj>8>7Wppd5`Bsk- z91gX!ar-wA%KwHxMtT^vgdYj|Oa2dl3`aylj3Xi@JoNP0b6m))*JKYLKCpFiaLjbN zhr;|q zc>LH4TwLzLrArs#!i5V2T)lb~qN8KL!TD9MylR2ej=lY)MIk&_YT{)+DCj{fW4^I4CSE22;znRRygtgJN=>m+^5T#cf$~kQ{0Ow{BQ~ z*>!WcZfXjqW@ZGKnVZ88n3`S(D;qC3d$kW#^v6I(b)d37S-PMpLmpE7RiWT*BD_sc zhrHAj$W2ZChO}>KUV0kjWMzQatt?Q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tl6{|2MoB2=Ci(`__@yc&E zZN0C&*~wU9Jsj%2yLOR1-ZVJKZ^Ke$mX@<(l|*pB^mQp&o--pPDu?@4&Byws>>1|f$H;=A;$ZN4RzGW(x-~*- znZJo(SDzP9Iqsl$ztE`M5LF`axj?Hzi0`kudwm#HTXA3C zh}*HFtj{(`o0`_FAx2}u(bmT1Km*BIf%#(5G|rd8!SmL#+jKMku|UOQ{wp76TUDAe zlx}*Qf0Hn8Y}h5#I5B;;nvKabl#`oV>}&xCo}c95x&!`r{O{iL=P8_TxSUTB*_6#S zEurP4y!^?z(Ba(9a{?I-Z`_x1^ted05)1^Q?NQ~DqZJAgf+JI#Qu4z{>vVef2gHZ+B5ov WD(BuApF@5ooQ#B`c)X~Q^Zx^r(Jlc1 literal 0 HcmV?d00001 diff --git a/SkyNX-Streamer/main.js b/SkyNX-Streamer/main.js index 4fba4b9..365ac2d 100644 --- a/SkyNX-Streamer/main.js +++ b/SkyNX-Streamer/main.js @@ -4,6 +4,7 @@ const elevate = require("windows-elevate"); const windowStateKeeper = require('electron-window-state'); const fs = require('fs'); const DB = require('./Devlord_modules/DB.js'); +const isDev = require('electron-is-dev'); var AU = require('ansi_up'); var ansi_up = new AU.default; // Modules to control application life and create native browser window @@ -81,11 +82,16 @@ app.on('browser-window-created', function (e, window) { }); var streamerProcess; var clientSender; + function startStreamer(arg) { + var cwd = './NxStreamingService/'; + if (!isDev) { + cwd = "./resources/app/NxStreamingService" + } streamerProcess = spawn( "./NxStreamingService.exe", ["/ip", arg.ip, "/q", arg.q], - { cwd: './NxStreamingService/', stdio: "pipe" } + { cwd: cwd, stdio: "pipe" } ); streamerProcess.stdout.on("data", data => { log(`${data}`); @@ -114,6 +120,9 @@ ipcMain.on('kill', (event, arg) => { ipcMain.on('installScpVBus', (event, arg) => { log("Installing ScpVBus driver..") var df = __dirname + "\\NxStreamingService\\lib\\" + if (!isDev) { + df = __dirname + ".\\resources\\app\\NxStreamingService\\lib\\" + } elevate.exec(df + "devcon.exe", ["install", df + "ScpVBus.inf", "Root\\ScpVBus"], function (error, stdout, stderr) { log(`${stdout}`); @@ -128,6 +137,9 @@ ipcMain.on('installScpVBus', (event, arg) => { ipcMain.on('unInstallScpVBus', (event, arg) => { log("Un-Installing ScpVBus driver..") var df = __dirname + "\\NxStreamingService\\lib\\" + if (!isDev) { + df = __dirname + ".\\resources\\app\\NxStreamingService\\lib\\" + } elevate.exec(df + "devcon.exe", ["remove", "Root\\ScpVBus"], function (error, stdout, stderr) { if (error !== null) { @@ -142,6 +154,9 @@ ipcMain.on('unInstallScpVBus', (event, arg) => { ipcMain.on('installAudioDriver', (event, arg) => { log("Installing audio driver..") var df = __dirname + "\\NxStreamingService\\lib\\" + if (!isDev) { + df = __dirname + ".\\resources\\app\\NxStreamingService\\lib\\" + } elevate.exec("regsvr32", [df + "audio_sniffer.dll"], function (error, stdout, stderr) { if (error !== null) { @@ -154,6 +169,9 @@ ipcMain.on('installAudioDriver', (event, arg) => { ipcMain.on('unInstallAudioDriver', (event, arg) => { log("Un-Installing audio driver..") var df = __dirname + "\\NxStreamingService\\lib\\" + if (!isDev) { + df = __dirname + ".\\resources\\app\\NxStreamingService\\lib\\" + } elevate.exec("regsvr32", ["/u", df + "audio_sniffer.dll"], function (error, stdout, stderr) { if (error !== null) { diff --git a/SkyNX-Streamer/package-lock.json b/SkyNX-Streamer/package-lock.json index d6ede23..e114216 100644 --- a/SkyNX-Streamer/package-lock.json +++ b/SkyNX-Streamer/package-lock.json @@ -183,6 +183,11 @@ "extract-zip": "^1.0.3" } }, + "electron-is-dev": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-1.2.0.tgz", + "integrity": "sha512-R1oD5gMBPS7PVU8gJwH6CtT0e6VSoD0+SzSnYpNm+dBkcijgA+K7VAMHDfnRq/lkKPZArpzplTW6jfiMYosdzw==" + }, "electron-window-state": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/electron-window-state/-/electron-window-state-5.0.3.tgz", diff --git a/SkyNX-Streamer/package.json b/SkyNX-Streamer/package.json index fe90cfe..bb39d5d 100644 --- a/SkyNX-Streamer/package.json +++ b/SkyNX-Streamer/package.json @@ -14,6 +14,7 @@ "ansi_up": "^4.0.4", "bootstrap": "latest", "electron": "latest", + "electron-is-dev": "^1.2.0", "electron-window-state": "latest", "formidable": "latest", "jquery": "latest", diff --git a/icon.png b/icon.png deleted file mode 100644 index c850d7c47fa68c2f51dc448a83d8a3c0c965fa89..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7588 zcmZu$XIPWlvi_2ggc_>!rXpAnh$1BdNu&shfLJKf1f_Q(9g+|v6rn#?LZ4gp(#y4{>klQ}}0>WeS zr&fs<^~|op-LIj4S-f9zNfXxZ&AXZpJ#Kv@t60e6eTncpHa$K80rnTN(a~R)d=tVF z`f5`ZJZ1`8E7TwQrmWRY&Q`AdaGBfLZMB~3-5QuZa_P;w?THs(9!&@XH%@>s@(COO zYkCnV8@+#w4R~P;JZ!lECK$^LvVML60aPM3mnq=7nLyI&){gGGnnC-yxr{Xt;3p7@ z2VuA{b9t;u5wN@)igy7yOniC43I22gaf-F^-x~n32`#Ungq$43|6KWV&IAB_d8y6| z)Jec|)P%Ea#*fN0jDrcEt|$Sngv+`9APgkK|LN&>;Vq93MV{WLNa7?_MN-CfcXqDW zuRsA1X61@Kzz1CZ^HoH+JX8)?R^Z;gSFqHK{heL&n>TF}Okh0#6wu{}P7y$r@Gfuj z!8?4L_8NCC6|;S2Cp5G0{D*oEB8p)Zr2e;bf2+^O()%pPVf@q6$U-!%1esQoCRU`b z%7OdjRZ4u&BIyK+x^O<{Fjzb1oxt+4RR<IDdOK#^^0ZmMyCQ79TuOu^$HrcRu4y~q4HxME-fGj2$=+PNhX#btVXj8N0c^?ra7@cT42UIvYlWfu0Y%LD8Hm;lKB z=a3G}Hy@1eL2-W^@9bQmBuprQw0}!j5OjKaG$|0&v@w#wamxkcG8B1|5xw5Ce_zof ztNHpx-$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