-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
b841df7
commit e4348d2
Showing
4 changed files
with
99 additions
and
5 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
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
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,55 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Boosted: Help</title> | ||
<link rel="stylesheet" href="index.css"> | ||
<!-- Google fonts --> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
<!-- Compiled and minified CSS --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> | ||
<!-- Compiled and minified JavaScript --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> | ||
<script defer src="setup.js"></script> | ||
<!-- Font Awesome --> | ||
<script defer src="https://kit.fontawesome.com/1c9144b004.js" crossorigin="anonymous"></script> | ||
<script defer>window.$ = window.jQuery = require('jquery');</script> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||
|
||
</head> | ||
<body> | ||
<div id="all-container"> | ||
<div id="background"> | ||
<div id="valign" class="valign-wrapper"> | ||
<div class="container center-align"> | ||
<div class="center-align"> | ||
<div class="bg-color card z-depth-4" > | ||
<div class="card-content white-text"> | ||
<span id="title" class="card-title">💻 Setup instructions</span> | ||
</div> | ||
<div class="card-action white-text"> | ||
<h4>Step 1:</h4> | ||
<p>Create an account on <a href="https://pushed.co/">pushed.co</a></p> | ||
<hr> | ||
<h4>Step 2:</h4> | ||
<p>Download "Get Pushed" on the App Store or "Pushed" on Google Play</p> | ||
<hr> | ||
<h4>Step 3:</h4> | ||
<p>Subscribe to the boosted channel on pushed.co by clicking <a href="https://pushed.co/s/mQqSeRa">HERE</a></p> | ||
<hr> | ||
<h4>Step 4:</h4> | ||
<p>Get your Pushed ID from the account page on the pushed.co website. Then paste the ID into the configure section of this app.</p> | ||
<hr> | ||
<h4>Step 5:</h4> | ||
<p>Click "Start" on the main menu. If you did everything right, your ready checks should get automatically accepted and a notification will be delivered to your phone.</p> | ||
|
||
<a id="close-btn" class="waves-effect waves-light red btn">Close</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</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,19 @@ | ||
const customTitlebar = require('custom-electron-titlebar'); | ||
const { BrowserWindow } = require('electron').remote; | ||
const shell = require('electron').shell; | ||
|
||
new customTitlebar.Titlebar({ | ||
backgroundColor: customTitlebar.Color.fromHex('#333333'), | ||
menu: null, | ||
icon: "../resources/icons/lol-icon.png" | ||
}); | ||
|
||
$('#close-btn').click(()=>{ | ||
let current = BrowserWindow.getFocusedWindow(); | ||
current.close(); | ||
}) | ||
|
||
$(document).on('click', 'a[href^="http"]', function(event) { | ||
event.preventDefault(); | ||
shell.openExternal(this.href); | ||
}); |