Skip to content

Commit

Permalink
Update SPA
Browse files Browse the repository at this point in the history
  • Loading branch information
trudyhood committed Apr 2, 2022
1 parent 09cb242 commit 925a038
Show file tree
Hide file tree
Showing 22 changed files with 13,971 additions and 22,805 deletions.
4 changes: 2 additions & 2 deletions Pub/Version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Major": 2,
"Minor": 4,
"Build": 299,
"BumpTime": "2022-03-26T10:03:29.9179612Z"
"Build": 300,
"BumpTime": "2022-04-02T05:05:12.6932632Z"
}
Binary file modified VpnHood.Client.App.Android/Assets/SPA.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion VpnHood.Client.App.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="299" package="com.vpnhood.client.android" android:installLocation="auto" android:versionName="2.4.299">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="300" package="com.vpnhood.client.android" android:installLocation="auto" android:versionName="2.4.300">
<uses-sdk android:minSdkVersion="22" android:targetSdkVersion="31" />
<uses-feature android:name="android.software.leanback" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
Expand Down
12 changes: 7 additions & 5 deletions VpnHood.Client.App.UI.Html/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ module.exports = {
node: true
},
extends: [
'plugin:vue/essential',
'eslint:recommended'
"plugin:vue/essential",
"eslint:recommended"
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},
parserOptions: {
parser: 'babel-eslint'
parser: "@babel/eslint-parser",
requireConfigFile: true,
ecmaVersion: "latest"
}
}
4 changes: 0 additions & 4 deletions VpnHood.Client.App.UI.Html/_publish.bat

This file was deleted.

10 changes: 9 additions & 1 deletion VpnHood.Client.App.UI.Html/_publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ $dest1= "$solutionDir\VpnHood.Client.App.Android\Assets\SPA.zip";
$dest2= "$solutionDir\VpnHood.Client.App.Win\Resources\SPA.zip";

# build output
./_publish.bat
# ./_publish.bat
try {
Push-Location -Path $PSScriptRoot;
npm run build;
}
finally {
Pop-Location;
}

if ($LASTEXITCODE -gt 0) { Write-Host ("Error code: " + $lastexitcode) -ForegroundColor Red; pause;}

# zip
Expand Down
Loading

0 comments on commit 925a038

Please sign in to comment.