cleanup
This commit is contained in:
parent
40beeedf1a
commit
03618b22e3
4 changed files with 3 additions and 13 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
/node_modules
|
||||
/dist
|
||||
|
||||
out/
|
||||
/out
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
- [ ] If already under the limit, the file won't be compressed
|
||||
- [ ] Merge all audio files into one track <!-- ffmpeg -i in.mp4 -filter_complex "[0:a]amerge=inputs=2[a]" -ac 1 -map 0:v -map "[a]" -c:v copy out.mp4 -->
|
||||
|
||||
## Dev
|
||||
## Package the app for Windows
|
||||
|
||||
```bash
|
||||
npm install
|
||||
|
|
|
@ -2,19 +2,13 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self'; script-src 'self'"
|
||||
/>
|
||||
<title>Hello World!</title>
|
||||
<title>Discord Video Sharing</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello World!</h1>
|
||||
Nous utilisons Node.js <span id="node-version"></span>, Chromium
|
||||
<span id="chrome-version"></span>, et Electron
|
||||
<span id="electron-version"></span>.
|
||||
|
||||
<script src="../dist/renderer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -14,9 +14,6 @@ const createWindow = () => {
|
|||
win.loadFile(path.join(path.resolve(__dirname, ".."), "pages", "index.html"));
|
||||
};
|
||||
|
||||
// Fix crash on Windows
|
||||
app.commandLine.appendSwitch("disable-gpu-sandbox");
|
||||
|
||||
app.whenReady().then(() => {
|
||||
createWindow();
|
||||
|
||||
|
|
Loading…
Reference in a new issue