Skip to content

Commit

Permalink
attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Feb 27, 2024
1 parent 4b5c64c commit 45b9cb5
Show file tree
Hide file tree
Showing 70 changed files with 15 additions and 10,950 deletions.
10 changes: 5 additions & 5 deletions client/src/electron/custom_install_steps.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ ${StrRep}
File /r "${PROJECT_DIR}\third_party\tap-windows6\bin\i386\*"
${EndIf}
SetOutPath -
File "${PROJECT_DIR}\src\electron\add_tap_device.bat"
File "${PROJECT_DIR}\src\electron\find_tap_device_name.bat"
File "${PROJECT_DIR}\client\src\electron\add_tap_device.bat"
File "${PROJECT_DIR}\client\src\electron\find_tap_device_name.bat"

; OutlineService files, stopping the service first in case it's still running.
nsExec::Exec "$SYSDIR\net stop OutlineService"
File "${PROJECT_DIR}\tools\OutlineService\OutlineService\bin\OutlineService.exe"
File "${PROJECT_DIR}\tools\smartdnsblock\bin\smartdnsblock.exe"
File "${PROJECT_DIR}\client\tools\OutlineService\OutlineService\bin\OutlineService.exe"
File "${PROJECT_DIR}\client\tools\smartdnsblock\bin\smartdnsblock.exe"
File "${PROJECT_DIR}\third_party\newtonsoft\Newtonsoft.Json.dll"
File "${PROJECT_DIR}\src\electron\install_windows_service.bat"
File "${PROJECT_DIR}\client\src\electron\install_windows_service.bat"

; ExecToStack captures both stdout and stderr from the script, in the order output.
; Set a (long) timeout in case the device never becomes visible to netsh.
Expand Down
18 changes: 9 additions & 9 deletions client/src/electron/electron-builder.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"files": ["build/electron", "www", "resources/tray", "!node_modules/electron"],
"asarUnpack": ["third_party", "tools"],
"files": ["client/build/electron", "client/www", "client/resources/tray", "!node_modules/electron"],
"asarUnpack": ["third_party", "client/tools"],
"artifactName": "Outline-Client.${ext}",
"directories": {
"output": "output/build/dist"
"output": "client/output/build/dist"
},
"linux": {
"target": {
"target": "AppImage",
"arch": ["x64"]
},
"files": ["build/icons/png", "output/build/linux", "tools/outline_proxy_controller/dist"],
"icon": "build/icons/png",
"files": ["client/build/icons/png", "client/output/build/linux", "client/tools/outline_proxy_controller/dist"],
"icon": "client/build/icons/png",
"category": "Network"
},
"win": {
Expand All @@ -21,13 +21,13 @@
"arch": "ia32"
}
],
"files": ["output/build/windows"],
"icon": "build/icons/win/icon.ico",
"sign": "src/electron/windows/electron_builder_signing_plugin.cjs",
"files": ["client/output/build/windows"],
"icon": "client/build/icons/win/icon.ico",
"sign": "client/src/electron/windows/electron_builder_signing_plugin.cjs",
"signingHashAlgorithms": ["sha256"]
},
"nsis": {
"perMachine": true,
"include": "src/electron/custom_install_steps.nsh"
"include": "client/src/electron/custom_install_steps.nsh"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {dirname, resolve} from 'path';
import {fileURLToPath, pathToFileURL} from 'url';
import {format} from 'util';

import {jsign} from '../../../third_party/jsign/index.mjs';
import {jsign} from '../../../../../third_party/jsign/index.mjs';

/**
* Get the parent folder path of this script.
Expand Down
1 change: 0 additions & 1 deletion client/third_party/jsign/.gitignore

This file was deleted.

201 changes: 0 additions & 201 deletions client/third_party/jsign/LICENSE.txt

This file was deleted.

17 changes: 0 additions & 17 deletions client/third_party/jsign/METADATA

This file was deleted.

71 changes: 0 additions & 71 deletions client/third_party/jsign/index.mjs

This file was deleted.

9 changes: 0 additions & 9 deletions client/third_party/newtonsoft/LICENSE

This file was deleted.

16 changes: 0 additions & 16 deletions client/third_party/newtonsoft/METADATA

This file was deleted.

Binary file removed client/third_party/newtonsoft/Newtonsoft.Json.dll
Binary file not shown.
Loading

0 comments on commit 45b9cb5

Please sign in to comment.