Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
chore: Fixed the package builder, so it builds packages with 7zip ins…
Browse files Browse the repository at this point in the history
…tead.
  • Loading branch information
itssimple committed May 8, 2021
1 parent f78dbf2 commit 3f6acc6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CreateNewPackage.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Remove-Item .\game-time-tracker.opk, .\game-time-tracker.zip -ErrorAction Ignore
Write-Output "Compressing new version into archive, please hold on"
Compress-Archive -Path .\manifest.json,.\resources,.\windows -DestinationPath .\game-time-tracker.zip
Rename-Item .\game-time-tracker.zip .\game-time-tracker.opk
#Compress-Archive -Path .\manifest.json,.\resources,.\windows -DestinationPath .\game-time-tracker.zip
7z a -tzip .\game-time-tracker.opk -r @package-source.lst
Write-Output "New OPK generated"
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ gulp.task("build-archive", function (callback) {
gulp.task("default", function () {
gulp.watch("src/scss/**/*.scss", gulp.series("styles-nano", "build-archive"));
gulp.watch("src/manifest.json", gulp.series("fix-version", "build-archive"));
gulp.watch("windows/*.*", gulp.series("build-archive"));
gulp.watch("package.json", gulp.series("fix-version", "build-archive"));
gulp.watch(
"src/scripts/**/*.js",
Expand Down
14 changes: 4 additions & 10 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"meta": {
"name": "Game Time Tracker",
"description": "This application enables you to track how much time you spend in your games. Features pretty graphs and tasty stats!",
"version": "0.0.5",
"version": "0.0.6",
"author": "NoLifeKing85",
"minimum-overwolf-version": "0.159.0",
"icon": "resources/images/logo.png",
Expand All @@ -13,10 +13,7 @@
"splash_image": "resources/images/splash.png",
"launcher_icon": "resources/images/gtt-logo.ico"
},
"permissions": [
"GameInfo",
"Extensions"
],
"permissions": ["GameInfo", "Extensions"],
"data": {
"game_targeting": {
"type": "all"
Expand Down Expand Up @@ -72,15 +69,12 @@
"include_launchers": true
}
],
"game_events": [
10902
],
"game_events": [10902],
"disable_dt": true,
"developer": {
"enable_auto_refresh": true,
"reload_delay": 1000,
"filter": "*.js;*.html;*.css"
}
},
"version": "0.0.6"
}
}
3 changes: 3 additions & 0 deletions package-source.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resources\*
windows\*
manifest.json
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"repository": "https://github.com/itssimple/overwolf-game-time-tracker.git",
"author": "Chris Gårdenberg <[email protected]>",
"license": "MIT",
"scripts": {
"release": "yarn standard-version && yarn gulp build-archive && git commit -am \"chore: version bump\" && git push --follow-tags origin master"
},
"dependencies": {
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
Expand Down
4 changes: 2 additions & 2 deletions windows/main-window.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
>
<button class="btn btn-primary btn-sm" id="exitButton">X</button>
</nav>
<!--<ul class="nav nav-tabs" id="main-navigation" role="tablist">
<ul class="nav nav-tabs" id="main-navigation" role="tablist">
<li class="nav-item" role="presentation">
<a
class="nav-link active"
Expand All @@ -62,7 +62,7 @@
>Game summary</a
>
</li>
</ul>-->
</ul>
<div class="container-fluid h-80" id="main-win-container">
<div class="tab-content" id="main-tabcontent">
<div
Expand Down

0 comments on commit 3f6acc6

Please sign in to comment.