-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from Plastikmensch/v1.2
v1.2 update
- Loading branch information
Showing
24 changed files
with
962 additions
and
709 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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
Fixes # . | ||
**Fixes** | ||
* list and link fixed issues | ||
|
||
Changes: | ||
- | ||
- | ||
- | ||
**Changes** | ||
* list of changes made |
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,24 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"type": "shell", | ||
"command": "./build.sh", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "package", | ||
"type": "shell", | ||
"command": "./package.sh", | ||
"group": "build", | ||
"dependsOrder": "sequence", | ||
"dependsOn":["build"] | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,14 +1,24 @@ | ||
#!/bin/bash | ||
# check if script is run as root | ||
if [ "$EUID" -ne 0 ] | ||
then | ||
echo "[Error] Please run as root" | ||
exit | ||
fi | ||
# check if Tweelectron is running | ||
if pgrep Tweelectron >/dev/null | ||
then | ||
echo "[Error] Tweelectron is running" | ||
exit | ||
fi | ||
# check if directory exists | ||
if [ -d "/usr/share/tweelectron" ] | ||
then | ||
echo "Old version exists. Removing..." | ||
# remove directory | ||
rm -r /usr/share/tweelectron | ||
fi | ||
echo "Copying new files" | ||
# copy directory to /usr/share | ||
cp -r ./dist/Tweelectron-linux-x64/ /usr/share/tweelectron | ||
echo "Done" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,28 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" type="text/css" href="pages.css"> | ||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'sha256-fcvsOwr5JlJCGhCpDXIWrowx3Dpcr5PnWMaRVxCt4JA='"> | ||
</head> | ||
<body> | ||
<h1>About Tweelectron</h1> | ||
<p class="about"> | ||
Tweelectron version: | ||
<script> | ||
const fs = require('fs') | ||
const path = require('path') | ||
document.write(fs.readFileSync(path.join(__dirname, 'tweelectron-version'),'utf8')) | ||
</script><br> | ||
Electron version: <script>document.write(process.versions.electron)</script><br> | ||
Tor version: | ||
<script> | ||
if(process.platform == "linux"){ | ||
document.write(fs.readFileSync(path.join(__dirname, 'tor-version-linux'),'utf8')) | ||
} | ||
else if(process.platform=="win32"){ | ||
document.write(fs.readFileSync(path.join(__dirname, 'tor-version-win'), 'utf8')) | ||
} | ||
</script><br> | ||
GitHub Page: <a href="https://github.com/Plastikmensch/Tweelectron">https://github.com/Plastikmensch/Tweelectron</a> | ||
Tweelectron version: <span id="app-version"></span><br> | ||
Electron version: <span id="electron-version"></span><br> | ||
Tor version: <span id="tor-version"></span><br> | ||
GitHub Page: <a href="https://github.com/Plastikmensch/Tweelectron">https://github.com/Plastikmensch/Tweelectron</a> *<br> | ||
* Opens in default browser | ||
</p> | ||
<script type="text/javascript"> | ||
document.getElementById("app-version").innerText = window.version.app | ||
document.getElementById("electron-version").innerText = window.version.electron | ||
document.getElementById("tor-version").innerText = window.version.tor | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.