Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
unofficialdxnny committed May 25, 2024
1 parent 54f1b7e commit 67648be
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
13 changes: 13 additions & 0 deletions v5/Pages/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>

<h1>Hello</h1>

</body>
</html>
28 changes: 28 additions & 0 deletions v5/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const { app, BrowserWindow } = require('electron');

function createWindow() {
const win = new BrowserWindow({
width: 800,
height: 600,

webPreferences: {
nodeIntegration: true
}
});

win.loadFile('./Pages/index.html');
}

app.whenReady().then(createWindow);

app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit();
}
});

app.on('activate', () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow();
}
});
23 changes: 23 additions & 0 deletions v5/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "snapify",
"version": "5.0.1",
"description": "boost snapchat snapscore",
"main": "main.js",
"scripts": {
"test": "electron ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/unofficialdxnny/Snapify.git"
},
"keywords": [
"snapchat",
"snapify"
],
"author": "unofficialdxnny (Danial Ahmed)",
"license": "ISC",
"bugs": {
"url": "https://github.com/unofficialdxnny/Snapify/issues"
},
"homepage": "https://github.com/unofficialdxnny/Snapify#readme"
}

0 comments on commit 67648be

Please sign in to comment.