-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
iref
committed
Oct 30, 2018
1 parent
ac67215
commit 4528419
Showing
6 changed files
with
2,319 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>PS4 Remote PKG Sender</title> | ||
</head> | ||
<body> | ||
<label>LOCAL IP:</label> | ||
<input type="text" placeholder="192.168.1.1" value="192.168.1.1" id="localIP" /> | ||
<br> | ||
<label>PS4 IP:</label> | ||
<input type="text" placeholder="192.168.1.100" value="192.168.1.100" id="PS4IP" /> | ||
<br> | ||
<label>PKG Files:</label> | ||
<div class="files"></div> | ||
<input type="file" multiple accept=".pkg" /> | ||
<br> | ||
<input type="button" value="SEND" disabled /> | ||
<script> | ||
require('./renderer.js') | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const {app, BrowserWindow} = require('electron'); | ||
let mainWindow; | ||
|
||
function createWindow () { | ||
mainWindow = new BrowserWindow({width: 800, height: 600}); | ||
mainWindow.loadFile('index.html'); | ||
//mainWindow.webContents.openDevTools(); | ||
mainWindow.on('closed', function () { | ||
mainWindow = null | ||
}) | ||
} | ||
|
||
app.on('ready', function () { | ||
createWindow(); | ||
}); | ||
|
||
app.on('window-all-closed', function () { | ||
if (process.platform !== 'darwin') { | ||
app.quit() | ||
} | ||
}); | ||
|
||
app.on('activate', function () { | ||
if (mainWindow === null) { | ||
createWindow() | ||
} | ||
}); |
Oops, something went wrong.