Skip to content

Commit

Permalink
cracked linux
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Mar 14, 2024
1 parent c23c8fe commit c8c62cc
Show file tree
Hide file tree
Showing 6 changed files with 1,561 additions and 1,145 deletions.
3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@
"ios",
"osx"
]
}
},
"main": "output/electron/index.js"
}
2 changes: 1 addition & 1 deletion client/src/electron/build_main.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import path from 'path';
import url from 'url';
import {getRootDir} from '../build/get_root_dir.mjs';

const ELECTRON_BUILD_DIR = 'build';
const ELECTRON_BUILD_DIR = 'output';
const ELECTRON_PLATFORMS = ['linux', 'windows'];

export async function main(...parameters) {
Expand Down
12 changes: 6 additions & 6 deletions client/src/electron/electron-builder.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"files": ["client/build/electron", "client/www", "client/resources/tray", "!node_modules/electron"],
"asarUnpack": ["third_party", "client/tools"],
"files": ["output/electron", "www", "resources/tray", "!node_modules/electron"],
"asarUnpack": ["../third_party", "tools"],
"artifactName": "Outline-Client.${ext}",
"directories": {
"output": "client/output/dist"
"output": "output/dist"
},
"linux": {
"target": {
"target": "AppImage",
"arch": ["x64"]
},
"files": ["output/icons/png", "output/build/linux", "tools/outline_proxy_controller/dist"],
"icon": "build/icons/png",
"icon": "output/icons/png",
"category": "Network"
},
"win": {
Expand All @@ -23,11 +23,11 @@
],
"files": ["output/build/windows"],
"icon": "output/icons/win/icon.ico",
"sign": "client/src/electron/windows/electron_builder_signing_plugin.cjs",
"sign": "src/electron/windows/electron_builder_signing_plugin.cjs",
"signingHashAlgorithms": ["sha256"]
},
"nsis": {
"perMachine": true,
"include": "client/src/electron/custom_install_steps.nsh"
"include": "src/electron/custom_install_steps.nsh"
}
}
4 changes: 2 additions & 2 deletions client/src/electron/webpack_electron_main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default ({sentryDsn, appVersion}) => [
],
output: {
filename: 'index.js',
path: path.resolve(__dirname, '..', '..', 'build', 'electron', 'electron'),
path: path.resolve(__dirname, '..', '..', 'output', 'electron'),
},
},
{
Expand All @@ -70,7 +70,7 @@ export default ({sentryDsn, appVersion}) => [
},
output: {
filename: 'preload.js',
path: path.resolve(__dirname, '..', '..', 'build', 'electron', 'electron'),
path: path.resolve(__dirname, '..', '..', 'output', 'electron'),
},
},
];
Loading

0 comments on commit c8c62cc

Please sign in to comment.