-
Notifications
You must be signed in to change notification settings - Fork 2
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
0 parents
commit 8462a25
Showing
65 changed files
with
52,553 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
> 1% | ||
last 2 versions | ||
not dead |
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 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true, | ||
}, | ||
extends: [ | ||
"plugin:vue/essential", | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
], | ||
parserOptions: { | ||
parser: "@babel/eslint-parser", | ||
}, | ||
rules: { | ||
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off", | ||
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
endOfLine: "auto", | ||
}, | ||
], | ||
}, | ||
}; |
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,27 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
#Electron-builder output | ||
/dist_electron | ||
nettica-client.exe |
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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 Nettica Corporation | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,30 @@ | ||
# nettica-agent | ||
|
||
## Project setup | ||
``` | ||
npm install | ||
``` | ||
|
||
### Compiles and hot-reloads for development | ||
``` | ||
npm run electron:serve | ||
``` | ||
|
||
### Compiles and minifies for production | ||
``` | ||
npm run electron:build | ||
``` | ||
### Build cross-platform/cross-architecture | ||
``` | ||
npm run electron:build -- --linux deb --arm64 --dir # arm64 cross compile | ||
npm run electron:build -- --linux deb --armv7l --dir # pi cross compile | ||
``` | ||
|
||
### Lints and fixes files | ||
``` | ||
npm run lint | ||
``` | ||
|
||
### Customize configuration | ||
See [Configuration Reference](https://cli.vuejs.org/config/). |
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,3 @@ | ||
module.exports = { | ||
presets: ["@vue/cli-plugin-babel/preset"], | ||
}; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,11 @@ | ||
!macro customInstall | ||
ExecWait '"$INSTDIR\extra\nettica-client.exe" install' | ||
ExecWait '"$INSTDIR\extra\nettica-client.exe" start' | ||
CreateDirectory '$APPDATA\Nettica' | ||
CreateDirectory '$APPDATA\Nettica\WireGuard' | ||
!macroend | ||
|
||
!macro customUninstall | ||
ExecWait '"$INSTDIR\extra\nettica-client.exe" stop' | ||
ExecWait '"$INSTDIR\extra\nettica-client.exe" remove' | ||
!macroend |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,31 @@ | ||
{ | ||
"pkg": { | ||
"isRelocatable": false, | ||
"overwriteAction": "upgrade" | ||
}, | ||
|
||
"linux" : { | ||
"icon": "build/icon.icns", | ||
"category": "Network", | ||
"target": [ | ||
"deb", | ||
"rpm" | ||
] | ||
}, | ||
|
||
"win": { | ||
"icon": "build/icon.ico" | ||
}, | ||
"nsis": { | ||
"oneClick": true, | ||
"perMachine": true, | ||
"allowElevation": true, | ||
"allowToChangeInstallationDirectory": false, | ||
"include": "build/installer.nsh", | ||
"runAfterFinish": true, | ||
"createDesktopShortcut": true, | ||
"createStartMenuShortcut": true, | ||
"artifactName" : "${productName}-${version}.${ext}" | ||
} | ||
} | ||
|
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,92 @@ | ||
{ | ||
"appId": "meshifyapp", | ||
"icon": "build/icon.png", | ||
"mac": { | ||
"category": "public.app-category.productivity", | ||
"target": [ | ||
"dmg", | ||
"pkg", | ||
"zip", | ||
"mas" | ||
], | ||
"icon": "build/icon.png", | ||
"bundleVersion": "88", | ||
"type": "distribution", | ||
"artifactName": "meshifyapp-${version}-${os}.${ext}", | ||
"hardenedRuntime": true, | ||
"gatekeeperAssess": false, | ||
"provisioningProfile": "embedded.provisionprofile" | ||
}, | ||
"dmg": { | ||
"background": "build/background.png", | ||
"contents": [ | ||
{ | ||
"type": "dir", | ||
"x": 100, | ||
"y": 211 | ||
}, | ||
{ | ||
"type": "link", | ||
"path": "/Applications", | ||
"x": 500, | ||
"y": 211 | ||
} | ||
] | ||
}, | ||
"pkg": { | ||
"isRelocatable": false, | ||
"overwriteAction": "upgrade" | ||
}, | ||
"mas": { | ||
"hardenedRuntime": true, | ||
"asarUnpack": [ | ||
"node_modules" | ||
], | ||
"artifactName": "meshifyapp-${version}-mas.${ext}" | ||
}, | ||
"win": { | ||
"target": [ | ||
{ | ||
"target": "nsis", | ||
"arch": [ | ||
"x64" | ||
] | ||
},{ | ||
"target": "msi", | ||
"arch": [ | ||
"x64" | ||
] | ||
}, | ||
{ | ||
"target": "zip", | ||
"arch": [ | ||
"x64" | ||
] | ||
} | ||
], | ||
"icon": "build/icon.png", | ||
"publisherName": "Nettica.app Inc.", | ||
"legalTrademarks": "", | ||
"verifyUpdateCodeSignature": false, | ||
"requestedExecutionLevel": "asInvoker", | ||
"signAndEditExecutable": false, | ||
"signDlls": false, | ||
"artifactName": "meshifyapp-${version}-${os}-${arch}.${ext}" | ||
}, | ||
"nsis": { | ||
"oneClick": true, | ||
"perMachine": true, | ||
"allowElevation": true, | ||
"allowToChangeInstallationDirectory": false, | ||
"uninstallDisplayName": "${productName} ${version}", | ||
"include": "build/installer.nsh", | ||
"deleteAppDataOnUninstall": false, | ||
"displayLanguageSelector": false, | ||
"unicode": true, | ||
"warningsAsErrors": true, | ||
"runAfterFinish": true, | ||
"createDesktopShortcut": "always", | ||
"createStartMenuShortcut": true, | ||
"menuCategory": false | ||
} | ||
} |
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,7 @@ | ||
{ | ||
"apiIdentifier": "http://meshify-resource-server", | ||
"auth0Domain": "auth.meshify.app", | ||
"clientId": "FuE6p0feioTrAypLhkcMhoskpsVs8YfK", | ||
"serverUrl": "https://my.meshify.app", | ||
"appData": "C:\\ProgramData" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "esnext", | ||
"baseUrl": "./", | ||
"moduleResolution": "node", | ||
"paths": { | ||
"@/*": [ | ||
"src/*" | ||
] | ||
}, | ||
"lib": [ | ||
"esnext", | ||
"dom", | ||
"dom.iterable", | ||
"scripthost" | ||
] | ||
} | ||
} |
Oops, something went wrong.