mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
Merge pull request #164 from 4gray/master
Merge back from release branch to electron
This commit is contained in:
8 files changed
+30
-24
No files matched your search
@@ -37,11 +37,9 @@ jobs:
|
||||
npx electron-builder --linux snap --armv7l --publish always
|
||||
npx electron-builder --linux snap --x64 --publish always
|
||||
npx electron-builder --linux deb rpm --x64 --publish always
|
||||
npx electron-builder --linux deb --ia32 --publish always
|
||||
npx electron-builder --linux deb --arm64 --publish always
|
||||
npx electron-builder --linux deb --armv7l --publish always
|
||||
npx electron-builder --linux AppImage --x64 --publish always
|
||||
npx electron-builder --linux AppImage --ia32 --publish always
|
||||
npx electron-builder --linux AppImage --arm64 --publish always
|
||||
npx electron-builder --linux AppImage --armv7l --publish always
|
||||
env:
|
||||
@@ -69,4 +67,4 @@ jobs:
|
||||
|
||||
# If the commit is tagged with a version (e.g. "v1.0.0"),
|
||||
# release the app after building
|
||||
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
"build": {
|
||||
"builder": "@angular-builders/custom-webpack:browser",
|
||||
"options": {
|
||||
"outputPath": "build",
|
||||
"outputPath": "dist",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
"tsConfig": "src/tsconfig.app.json",
|
||||
|
||||
+14
-8
@@ -5,9 +5,12 @@
|
||||
},
|
||||
"files": [
|
||||
"**/*",
|
||||
"dist",
|
||||
"!**/*.ts",
|
||||
"!*.code-workspace",
|
||||
"!LICENSE.md",
|
||||
"!README.md",
|
||||
"!CHANGELOG.md",
|
||||
"!package.json",
|
||||
"!package-lock.json",
|
||||
"!src/",
|
||||
@@ -15,10 +18,13 @@
|
||||
"!hooks/",
|
||||
"!angular.json",
|
||||
"!tsconfig.json",
|
||||
"!tslint.json"
|
||||
"!tsconfig.*.json",
|
||||
"!tslint.json",
|
||||
"!*.png",
|
||||
"!coverage"
|
||||
],
|
||||
"win": {
|
||||
"icon": "build/assets/icons",
|
||||
"icon": "dist/assets/icons",
|
||||
"compression": "maximum",
|
||||
"target": [
|
||||
{
|
||||
@@ -28,31 +34,31 @@
|
||||
]
|
||||
},
|
||||
"mac": {
|
||||
"icon": "build/assets/icons/icon-1024.png",
|
||||
"icon": "dist/assets/icons/icon-1024.png",
|
||||
"target": {
|
||||
"target": "dmg",
|
||||
"arch": ["universal"]
|
||||
}
|
||||
},
|
||||
"linux": {
|
||||
"icon": "build/assets/icons",
|
||||
"icon": "dist/assets/icons",
|
||||
"category": "Video",
|
||||
"target": [
|
||||
{
|
||||
"target": "AppImage",
|
||||
"arch": ["x64", "ia32", "armv7l", "arm64"]
|
||||
"arch": ["x64", "armv7l", "arm64"]
|
||||
},
|
||||
{
|
||||
"target": "deb",
|
||||
"arch": ["x64", "ia32", "armv7l", "arm64"]
|
||||
"arch": ["x64", "armv7l", "arm64"]
|
||||
},
|
||||
{
|
||||
"target": "rpm",
|
||||
"arch": ["x64", "ia32", "arm64", "armv7l"]
|
||||
"arch": ["x64", "arm64", "armv7l"]
|
||||
},
|
||||
{
|
||||
"target": "Snap",
|
||||
"arch": ["x64", "ia32", "arm64", "armv7l"]
|
||||
"arch": ["x64", "arm64", "armv7l"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-2
@@ -33,7 +33,7 @@ function createWindow(): BrowserWindow {
|
||||
},
|
||||
resizable: true,
|
||||
darkTheme: true,
|
||||
icon: path.join(__dirname, '../build/assets/icons/icon.png'),
|
||||
icon: path.join(__dirname, '../dist/assets/icons/icon.png'),
|
||||
titleBarStyle: 'hidden',
|
||||
frame: false,
|
||||
minWidth: 900,
|
||||
@@ -50,7 +50,7 @@ function createWindow(): BrowserWindow {
|
||||
} else {
|
||||
win.loadURL(
|
||||
url.format({
|
||||
pathname: path.join(__dirname, '../build/index.html'),
|
||||
pathname: path.join(__dirname, '../dist/index.html'),
|
||||
protocol: 'file:',
|
||||
slashes: true,
|
||||
})
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ export class AppMenu {
|
||||
openAboutWindow({
|
||||
icon_path: path.join(
|
||||
__dirname,
|
||||
'build/assets/icons/icon.png'
|
||||
'../dist/assets/icons/icon.png'
|
||||
),
|
||||
copyright: 'Copyright (c) 2020-2022 4gray',
|
||||
package_json_dir: __dirname,
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "iptvnator",
|
||||
"version": "0.10.0",
|
||||
"version": "0.11.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "iptvnator",
|
||||
"version": "0.10.0",
|
||||
"version": "0.11.0",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "14.0.6",
|
||||
|
||||
@@ -61,12 +61,14 @@ export function DataFactory(dbService: NgxIndexedDBService, http: HttpClient) {
|
||||
deps: [HttpClient],
|
||||
},
|
||||
}),
|
||||
ServiceWorkerModule.register('ngsw-worker.js', {
|
||||
enabled: AppConfig.production,
|
||||
// Register the ServiceWorker as soon as the app is stable
|
||||
// or after 30 seconds (whichever comes first).
|
||||
registrationStrategy: 'registerWhenStable:30000',
|
||||
}),
|
||||
!isElectron
|
||||
? ServiceWorkerModule.register('ngsw-worker.js', {
|
||||
enabled: AppConfig.production,
|
||||
// Register the ServiceWorker as soon as the app is stable
|
||||
// or after 30 seconds (whichever comes first).
|
||||
registrationStrategy: 'registerWhenStable:30000',
|
||||
})
|
||||
: [],
|
||||
],
|
||||
providers: [
|
||||
{
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
</mat-menu>
|
||||
</ng-template>
|
||||
<ngx-whats-new
|
||||
*ngIf="isDialogVisible$ | async"
|
||||
*ngIf="!isElectron && isDialogVisible$ | async"
|
||||
(closeModal)="setDialogVisibility(false)"
|
||||
[items]="modals"
|
||||
[options]="options"
|
||||
|
||||
Reference in new issue
Block a user