Browse Source

build electron App und web

master
serkus01 7 months ago
parent
commit
c767dc9d35
  1. 20
      electron/webport-client-linux-x64/LICENSE
  2. 85148
      electron/webport-client-linux-x64/LICENSES.chromium.html
  3. BIN
      electron/webport-client-linux-x64/chrome-sandbox
  4. BIN
      electron/webport-client-linux-x64/chrome_100_percent.pak
  5. BIN
      electron/webport-client-linux-x64/chrome_200_percent.pak
  6. BIN
      electron/webport-client-linux-x64/crashpad_handler
  7. BIN
      electron/webport-client-linux-x64/icudtl.dat
  8. BIN
      electron/webport-client-linux-x64/libEGL.so
  9. BIN
      electron/webport-client-linux-x64/libGLESv2.so
  10. BIN
      electron/webport-client-linux-x64/libffmpeg.so
  11. BIN
      electron/webport-client-linux-x64/libvk_swiftshader.so
  12. BIN
      electron/webport-client-linux-x64/locales/am.pak
  13. BIN
      electron/webport-client-linux-x64/locales/ar.pak
  14. BIN
      electron/webport-client-linux-x64/locales/bg.pak
  15. BIN
      electron/webport-client-linux-x64/locales/bn.pak
  16. BIN
      electron/webport-client-linux-x64/locales/ca.pak
  17. BIN
      electron/webport-client-linux-x64/locales/cs.pak
  18. BIN
      electron/webport-client-linux-x64/locales/da.pak
  19. BIN
      electron/webport-client-linux-x64/locales/de.pak
  20. BIN
      electron/webport-client-linux-x64/locales/el.pak
  21. BIN
      electron/webport-client-linux-x64/locales/en-GB.pak
  22. BIN
      electron/webport-client-linux-x64/locales/en-US.pak
  23. BIN
      electron/webport-client-linux-x64/locales/es-419.pak
  24. BIN
      electron/webport-client-linux-x64/locales/es.pak
  25. BIN
      electron/webport-client-linux-x64/locales/et.pak
  26. BIN
      electron/webport-client-linux-x64/locales/fa.pak
  27. BIN
      electron/webport-client-linux-x64/locales/fi.pak
  28. BIN
      electron/webport-client-linux-x64/locales/fil.pak
  29. BIN
      electron/webport-client-linux-x64/locales/fr.pak
  30. BIN
      electron/webport-client-linux-x64/locales/gu.pak
  31. BIN
      electron/webport-client-linux-x64/locales/he.pak
  32. BIN
      electron/webport-client-linux-x64/locales/hi.pak
  33. BIN
      electron/webport-client-linux-x64/locales/hr.pak
  34. BIN
      electron/webport-client-linux-x64/locales/hu.pak
  35. BIN
      electron/webport-client-linux-x64/locales/id.pak
  36. BIN
      electron/webport-client-linux-x64/locales/it.pak
  37. BIN
      electron/webport-client-linux-x64/locales/ja.pak
  38. BIN
      electron/webport-client-linux-x64/locales/kn.pak
  39. BIN
      electron/webport-client-linux-x64/locales/ko.pak
  40. BIN
      electron/webport-client-linux-x64/locales/lt.pak
  41. BIN
      electron/webport-client-linux-x64/locales/lv.pak
  42. BIN
      electron/webport-client-linux-x64/locales/ml.pak
  43. BIN
      electron/webport-client-linux-x64/locales/mr.pak
  44. BIN
      electron/webport-client-linux-x64/locales/ms.pak
  45. BIN
      electron/webport-client-linux-x64/locales/nb.pak
  46. BIN
      electron/webport-client-linux-x64/locales/nl.pak
  47. BIN
      electron/webport-client-linux-x64/locales/pl.pak
  48. BIN
      electron/webport-client-linux-x64/locales/pt-BR.pak
  49. BIN
      electron/webport-client-linux-x64/locales/pt-PT.pak
  50. BIN
      electron/webport-client-linux-x64/locales/ro.pak
  51. BIN
      electron/webport-client-linux-x64/locales/ru.pak
  52. BIN
      electron/webport-client-linux-x64/locales/sk.pak
  53. BIN
      electron/webport-client-linux-x64/locales/sl.pak
  54. BIN
      electron/webport-client-linux-x64/locales/sr.pak
  55. BIN
      electron/webport-client-linux-x64/locales/sv.pak
  56. BIN
      electron/webport-client-linux-x64/locales/sw.pak
  57. BIN
      electron/webport-client-linux-x64/locales/ta.pak
  58. BIN
      electron/webport-client-linux-x64/locales/te.pak
  59. BIN
      electron/webport-client-linux-x64/locales/th.pak
  60. BIN
      electron/webport-client-linux-x64/locales/tr.pak
  61. BIN
      electron/webport-client-linux-x64/locales/uk.pak
  62. BIN
      electron/webport-client-linux-x64/locales/vi.pak
  63. BIN
      electron/webport-client-linux-x64/locales/zh-CN.pak
  64. BIN
      electron/webport-client-linux-x64/locales/zh-TW.pak
  65. BIN
      electron/webport-client-linux-x64/resources.pak
  66. BIN
      electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/487c45f8f34ee556e66db01a723578da8a6bcf34
  67. BIN
      electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/498549018634533b1eb8d76009b475a0dede3150
  68. BIN
      electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/55bbacc4b53578835604e4954cf6bd414accb593
  69. 1
      electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/55bbacc4b53578835604e4954cf6bd414accb593.info
  70. BIN
      electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/9fdf098effd5189ed7ca33a1893130d84b5441aa
  71. BIN
      electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/ab5e3aa3e3a1b0cbf9c9e4d0c77d7e203f41695d
  72. BIN
      electron/webport-client-linux-x64/resources/app/.cache/compiler-info.json.gz
  73. BIN
      electron/webport-client-linux-x64/resources/app/.cache/e7b06fe4cb4983ff8322d3ba427b6e88c83acc03/d43acec5f7c814f04f9600be9984576db3678631
  74. 42
      electron/webport-client-linux-x64/resources/app/.compilerc
  75. 9
      electron/webport-client-linux-x64/resources/app/.eslintrc
  76. 2
      electron/webport-client-linux-x64/resources/app/.gitignore
  77. 9
      electron/webport-client-linux-x64/resources/app/es6-shim.js
  78. 11307
      electron/webport-client-linux-x64/resources/app/package-lock.json
  79. 35
      electron/webport-client-linux-x64/resources/app/package.json
  80. 6
      electron/webport-client-linux-x64/resources/app/src/asset-manifest.json
  81. 0
      electron/webport-client-linux-x64/resources/app/src/favicon.ico
  82. 1
      electron/webport-client-linux-x64/resources/app/src/index.html
  83. 27
      electron/webport-client-linux-x64/resources/app/src/index.js
  84. 0
      electron/webport-client-linux-x64/resources/app/src/manifest.json
  85. 2
      electron/webport-client-linux-x64/resources/app/src/service-worker.js
  86. 4
      electron/webport-client-linux-x64/resources/app/src/static/css/main.02ee4f88.css
  87. 1
      electron/webport-client-linux-x64/resources/app/src/static/css/main.02ee4f88.css.map
  88. 2
      electron/webport-client-linux-x64/resources/app/src/static/js/main.febc368a.js
  89. 1
      electron/webport-client-linux-x64/resources/app/src/static/js/main.febc368a.js.map
  90. BIN
      electron/webport-client-linux-x64/snapshot_blob.bin
  91. BIN
      electron/webport-client-linux-x64/swiftshader/libEGL.so
  92. BIN
      electron/webport-client-linux-x64/swiftshader/libGLESv2.so
  93. BIN
      electron/webport-client-linux-x64/v8_context_snapshot.bin
  94. 1
      electron/webport-client-linux-x64/version
  95. 1
      electron/webport-client-linux-x64/vk_swiftshader_icd.json
  96. BIN
      electron/webport-client-linux-x64/webport-client
  97. 89
      electron/webport-client/.gitignore
  98. 5546
      electron/webport-client/package-lock.json
  99. 58
      electron/webport-client/package.json
  100. 6
      electron/webport-client/src/asset-manifest.json

20
electron/webport-client-linux-x64/LICENSE

@ -0,0 +1,20 @@
Copyright (c) 2013-2019 GitHub Inc.
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.

85148
electron/webport-client-linux-x64/LICENSES.chromium.html
File diff suppressed because it is too large
View File

BIN
electron/webport-client-linux-x64/chrome-sandbox

BIN
electron/webport-client-linux-x64/chrome_100_percent.pak

BIN
electron/webport-client-linux-x64/chrome_200_percent.pak

BIN
electron/webport-client-linux-x64/crashpad_handler

BIN
electron/webport-client-linux-x64/icudtl.dat

BIN
electron/webport-client-linux-x64/libEGL.so

BIN
electron/webport-client-linux-x64/libGLESv2.so

BIN
electron/webport-client-linux-x64/libffmpeg.so

BIN
electron/webport-client-linux-x64/libvk_swiftshader.so

BIN
electron/webport-client-linux-x64/locales/am.pak

BIN
electron/webport-client-linux-x64/locales/ar.pak

BIN
electron/webport-client-linux-x64/locales/bg.pak

BIN
electron/webport-client-linux-x64/locales/bn.pak

BIN
electron/webport-client-linux-x64/locales/ca.pak

BIN
electron/webport-client-linux-x64/locales/cs.pak

BIN
electron/webport-client-linux-x64/locales/da.pak

BIN
electron/webport-client-linux-x64/locales/de.pak

BIN
electron/webport-client-linux-x64/locales/el.pak

BIN
electron/webport-client-linux-x64/locales/en-GB.pak

BIN
electron/webport-client-linux-x64/locales/en-US.pak

BIN
electron/webport-client-linux-x64/locales/es-419.pak

BIN
electron/webport-client-linux-x64/locales/es.pak

BIN
electron/webport-client-linux-x64/locales/et.pak

BIN
electron/webport-client-linux-x64/locales/fa.pak

BIN
electron/webport-client-linux-x64/locales/fi.pak

BIN
electron/webport-client-linux-x64/locales/fil.pak

BIN
electron/webport-client-linux-x64/locales/fr.pak

BIN
electron/webport-client-linux-x64/locales/gu.pak

BIN
electron/webport-client-linux-x64/locales/he.pak

BIN
electron/webport-client-linux-x64/locales/hi.pak

BIN
electron/webport-client-linux-x64/locales/hr.pak

BIN
electron/webport-client-linux-x64/locales/hu.pak

BIN
electron/webport-client-linux-x64/locales/id.pak

BIN
electron/webport-client-linux-x64/locales/it.pak

BIN
electron/webport-client-linux-x64/locales/ja.pak

BIN
electron/webport-client-linux-x64/locales/kn.pak

BIN
electron/webport-client-linux-x64/locales/ko.pak

BIN
electron/webport-client-linux-x64/locales/lt.pak

BIN
electron/webport-client-linux-x64/locales/lv.pak

BIN
electron/webport-client-linux-x64/locales/ml.pak

BIN
electron/webport-client-linux-x64/locales/mr.pak

BIN
electron/webport-client-linux-x64/locales/ms.pak

BIN
electron/webport-client-linux-x64/locales/nb.pak

BIN
electron/webport-client-linux-x64/locales/nl.pak

BIN
electron/webport-client-linux-x64/locales/pl.pak

BIN
electron/webport-client-linux-x64/locales/pt-BR.pak

BIN
electron/webport-client-linux-x64/locales/pt-PT.pak

BIN
electron/webport-client-linux-x64/locales/ro.pak

BIN
electron/webport-client-linux-x64/locales/ru.pak

BIN
electron/webport-client-linux-x64/locales/sk.pak

BIN
electron/webport-client-linux-x64/locales/sl.pak

BIN
electron/webport-client-linux-x64/locales/sr.pak

BIN
electron/webport-client-linux-x64/locales/sv.pak

BIN
electron/webport-client-linux-x64/locales/sw.pak

BIN
electron/webport-client-linux-x64/locales/ta.pak

BIN
electron/webport-client-linux-x64/locales/te.pak

BIN
electron/webport-client-linux-x64/locales/th.pak

BIN
electron/webport-client-linux-x64/locales/tr.pak

BIN
electron/webport-client-linux-x64/locales/uk.pak

BIN
electron/webport-client-linux-x64/locales/vi.pak

BIN
electron/webport-client-linux-x64/locales/zh-CN.pak

BIN
electron/webport-client-linux-x64/locales/zh-TW.pak

BIN
electron/webport-client-linux-x64/resources.pak

BIN
electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/487c45f8f34ee556e66db01a723578da8a6bcf34

BIN
electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/498549018634533b1eb8d76009b475a0dede3150

BIN
electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/55bbacc4b53578835604e4954cf6bd414accb593

1
electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/55bbacc4b53578835604e4954cf6bd414accb593.info

@ -0,0 +1 @@
{"mimeType":"image/x-icon","dependentFiles":[]}

BIN
electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/9fdf098effd5189ed7ca33a1893130d84b5441aa

BIN
electron/webport-client-linux-x64/resources/app/.cache/4e1a5069de66f1b2f52927c2388cdfb0756c1285/ab5e3aa3e3a1b0cbf9c9e4d0c77d7e203f41695d

BIN
electron/webport-client-linux-x64/resources/app/.cache/compiler-info.json.gz

BIN
electron/webport-client-linux-x64/resources/app/.cache/e7b06fe4cb4983ff8322d3ba427b6e88c83acc03/d43acec5f7c814f04f9600be9984576db3678631

42
electron/webport-client-linux-x64/resources/app/.compilerc

@ -0,0 +1,42 @@
{
"env": {
"development": {
"application/javascript": {
"presets": [
[
"env",
{
"targets": {
"electron": "8.2"
}
}
],
"react"
],
"plugins": [
"transform-async-to-generator"
],
"sourceMaps": "inline"
}
},
"production": {
"application/javascript": {
"presets": [
[
"env",
{
"targets": {
"electron": "8.2"
}
}
],
"react"
],
"plugins": [
"transform-async-to-generator"
],
"sourceMaps": "none"
}
}
}
}

9
electron/webport-client-linux-x64/resources/app/.eslintrc

@ -0,0 +1,9 @@
{
"extends": "eslint-config-airbnb",
"rules": {
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": [2, { "ignore": ["electron"] }],
"linebreak-style": 0
}
}

2
electron/webport-client-linux-x64/resources/app/.gitignore

@ -0,0 +1,2 @@
node_modules
out

9
electron/webport-client-linux-x64/resources/app/es6-shim.js

@ -0,0 +1,9 @@
'use strict';
var path = require('path');
var electronCompile = require('electron-compile');
var packageJson = require('./package.json');
let initScript = path.resolve(__dirname, packageJson.originalMain);
electronCompile.init(__dirname, initScript);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9lczYtc2hpbS5qcyJdLCJuYW1lcyI6WyJwYXRoIiwicmVxdWlyZSIsImVsZWN0cm9uQ29tcGlsZSIsInBhY2thZ2VKc29uIiwiaW5pdFNjcmlwdCIsInJlc29sdmUiLCJfX2Rpcm5hbWUiLCJvcmlnaW5hbE1haW4iLCJpbml0Il0sIm1hcHBpbmdzIjoiOztBQUFBLElBQUlBLE9BQU9DLFFBQVEsTUFBUixDQUFYO0FBQ0EsSUFBSUMsa0JBQWtCRCxRQUFRLGtCQUFSLENBQXRCOztBQUVBLElBQUlFLGNBQWNGLFFBQVEsZ0JBQVIsQ0FBbEI7QUFDQSxJQUFJRyxhQUFhSixLQUFLSyxPQUFMLENBQWFDLFNBQWIsRUFBd0JILFlBQVlJLFlBQXBDLENBQWpCO0FBQ0FMLGdCQUFnQk0sSUFBaEIsQ0FBcUJGLFNBQXJCLEVBQWdDRixVQUFoQyIsImZpbGUiOiJlczYtc2hpbS5qcyIsInNvdXJjZXNDb250ZW50IjpbInZhciBwYXRoID0gcmVxdWlyZSgncGF0aCcpO1xudmFyIGVsZWN0cm9uQ29tcGlsZSA9IHJlcXVpcmUoJ2VsZWN0cm9uLWNvbXBpbGUnKTtcblxudmFyIHBhY2thZ2VKc29uID0gcmVxdWlyZSgnLi9wYWNrYWdlLmpzb24nKTtcbmxldCBpbml0U2NyaXB0ID0gcGF0aC5yZXNvbHZlKF9fZGlybmFtZSwgcGFja2FnZUpzb24ub3JpZ2luYWxNYWluKTtcbmVsZWN0cm9uQ29tcGlsZS5pbml0KF9fZGlybmFtZSwgaW5pdFNjcmlwdCk7XG4iXX0=

11307
electron/webport-client-linux-x64/resources/app/package-lock.json
File diff suppressed because it is too large
View File

35
electron/webport-client-linux-x64/resources/app/package.json

@ -0,0 +1,35 @@
{
"name": "webport-client",
"productName": "webport-client",
"version": "1.0.0",
"description": "My Electron application description",
"main": "es6-shim.js",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "eslint src --color"
},
"keywords": [],
"author": "serkus",
"license": "MIT",
"config": {},
"dependencies": {
"electron-compile": "^6.4.4",
"electron-squirrel-startup": "^1.0.0"
},
"devDependencies": {
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"electron-forge": "^5.2.4",
"electron-prebuilt-compile": "8.2.0",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.26.1"
},
"originalMain": "src/index.js"
}

6
electron/webport-client-linux-x64/resources/app/src/asset-manifest.json

@ -0,0 +1,6 @@
{
"main.css": "static/css/main.02ee4f88.css",
"main.css.map": "static/css/main.02ee4f88.css.map",
"main.js": "static/js/main.febc368a.js",
"main.js.map": "static/js/main.febc368a.js.map"
}

0
electron/webport-client/src/favicon.ico → electron/webport-client-linux-x64/resources/app/src/favicon.ico

1
electron/webport-client-linux-x64/resources/app/src/index.html

@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>React App</title><link href="/static/css/main.02ee4f88.css" rel="stylesheet"></head><body><head><title>Webport</title></head><div id="root"></div><script type="text/javascript" src="/static/js/main.febc368a.js"></script></body></html>

27
electron/webport-client/src/index.js → electron/webport-client-linux-x64/resources/app/src/index.js

@ -1,23 +1,34 @@
const { app, BrowserWindow } = require('electron');
const path = require('path');
import { app, BrowserWindow } from 'electron';
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
if (require('electron-squirrel-startup')) { // eslint-disable-line global-require
app.quit();
}
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let mainWindow;
const createWindow = () => {
// Create the browser window.
const mainWindow = new BrowserWindow({
mainWindow = new BrowserWindow({
width: 800,
height: 600,
});
// and load the index.html of the app.
mainWindow.loadFile(path.join(__dirname, 'index.html'));
mainWindow.loadURL(`file://${__dirname}/index.html`);
// Open the DevTools.
mainWindow.webContents.openDevTools();
// Emitted when the window is closed.
mainWindow.on('closed', () => {
// Dereference the window object, usually you would store windows
// in an array if your app supports multi windows, this is the time
// when you should delete the corresponding element.
mainWindow = null;
});
};
// This method will be called when Electron has finished
@ -25,10 +36,10 @@ const createWindow = () => {
// Some APIs can only be used after this event occurs.
app.on('ready', createWindow);
// Quit when all windows are closed, except on macOS. There, it's common
// for applications and their menu bar to stay active until the user quits
// explicitly with Cmd + Q.
// Quit when all windows are closed.
app.on('window-all-closed', () => {
// On OS X it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q
if (process.platform !== 'darwin') {
app.quit();
}
@ -37,7 +48,7 @@ app.on('window-all-closed', () => {
app.on('activate', () => {
// On OS X it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.
if (BrowserWindow.getAllWindows().length === 0) {
if (mainWindow === null) {
createWindow();
}
});

0
electron/webport-client/src/manifest.json → electron/webport-client-linux-x64/resources/app/src/manifest.json

2
electron/webport-client/src/service-worker.js → electron/webport-client-linux-x64/resources/app/src/service-worker.js

@ -1 +1 @@
"use strict";function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}var precacheConfig=[["/index.html","a22ab4ef0a396dfaa46e9b0215f08492"],["/static/css/main.b5c2177a.css","7e40cbddebe17530499dfad2210b28ea"],["/static/js/main.53383d3c.js","40f3f3138827978a785efe988edd7398"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(e){return e.redirected?("body"in e?Promise.resolve(e.body):e.blob()).then(function(t){return new Response(t,{headers:e.headers,status:e.status,statusText:e.statusText})}):Promise.resolve(e)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,t){var n=new URL(e);return n.hash="",n.search=n.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(e){return t.every(function(t){return!t.test(e[0])})}).map(function(e){return e.join("=")}).join("&"),n.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(e){return setOfCachedUrls(e).then(function(t){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(n){if(!t.has(n)){var r=new Request(n,{credentials:"same-origin"});return fetch(r).then(function(t){if(!t.ok)throw new Error("Request for "+n+" returned a response with status "+t.status);return cleanResponse(t).then(function(t){return e.put(n,t)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var t=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(e){return e.keys().then(function(n){return Promise.all(n.map(function(n){if(!t.has(n.url))return e.delete(n)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(e){if("GET"===e.request.method){var t,n=stripIgnoredUrlParameters(e.request.url,ignoreUrlParametersMatching);t=urlsToCacheKeys.has(n);t||(n=addDirectoryIndex(n,"index.html"),t=urlsToCacheKeys.has(n));!t&&"navigate"===e.request.mode&&isPathWhitelisted([],e.request.url)&&(n=new URL("/index.html",self.location).toString(),t=urlsToCacheKeys.has(n)),t&&e.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(t){return console.warn('Couldn\'t serve response for "%s" from cache: %O',e.request.url,t),fetch(e.request)}))}});
"use strict";function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}var precacheConfig=[["/index.html","92276cb8c81221cd17aebd513dd4ef53"],["/static/css/main.02ee4f88.css","b2fdedab71e190bbf68de635906b209f"],["/static/js/main.febc368a.js","afbcf5bb1e83af315e4206e8f9593ea1"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(e){return e.redirected?("body"in e?Promise.resolve(e.body):e.blob()).then(function(t){return new Response(t,{headers:e.headers,status:e.status,statusText:e.statusText})}):Promise.resolve(e)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,t){var n=new URL(e);return n.hash="",n.search=n.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(e){return t.every(function(t){return!t.test(e[0])})}).map(function(e){return e.join("=")}).join("&"),n.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(e){return setOfCachedUrls(e).then(function(t){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(n){if(!t.has(n)){var r=new Request(n,{credentials:"same-origin"});return fetch(r).then(function(t){if(!t.ok)throw new Error("Request for "+n+" returned a response with status "+t.status);return cleanResponse(t).then(function(t){return e.put(n,t)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var t=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(e){return e.keys().then(function(n){return Promise.all(n.map(function(n){if(!t.has(n.url))return e.delete(n)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(e){if("GET"===e.request.method){var t,n=stripIgnoredUrlParameters(e.request.url,ignoreUrlParametersMatching);t=urlsToCacheKeys.has(n);t||(n=addDirectoryIndex(n,"index.html"),t=urlsToCacheKeys.has(n));!t&&"navigate"===e.request.mode&&isPathWhitelisted([],e.request.url)&&(n=new URL("/index.html",self.location).toString(),t=urlsToCacheKeys.has(n)),t&&e.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(t){return console.warn('Couldn\'t serve response for "%s" from cache: %O',e.request.url,t),fetch(e.request)}))}});

4
electron/webport-client-linux-x64/resources/app/src/static/css/main.02ee4f88.css
File diff suppressed because it is too large
View File

1
electron/webport-client-linux-x64/resources/app/src/static/css/main.02ee4f88.css.map
File diff suppressed because it is too large
View File

2
electron/webport-client-linux-x64/resources/app/src/static/js/main.febc368a.js
File diff suppressed because it is too large
View File

1
electron/webport-client-linux-x64/resources/app/src/static/js/main.febc368a.js.map
File diff suppressed because it is too large
View File

BIN
electron/webport-client-linux-x64/snapshot_blob.bin

BIN
electron/webport-client-linux-x64/swiftshader/libEGL.so

BIN
electron/webport-client-linux-x64/swiftshader/libGLESv2.so

BIN
electron/webport-client-linux-x64/v8_context_snapshot.bin

1
electron/webport-client-linux-x64/version

@ -0,0 +1 @@
8.2.0

1
electron/webport-client-linux-x64/vk_swiftshader_icd.json

@ -0,0 +1 @@
{"file_format_version": "1.0.0", "ICD": {"library_path": "./libvk_swiftshader.so", "api_version": "1.0.5"}}

BIN
electron/webport-client-linux-x64/webport-client

89
electron/webport-client/.gitignore

@ -1,89 +0,0 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
.DS_Store
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# Webpack
.webpack/
# Electron-Forge
out/

5546
electron/webport-client/package-lock.json
File diff suppressed because it is too large
View File

58
electron/webport-client/package.json

@ -1,58 +0,0 @@
{
"name": "webport-client",
"productName": "webport-client",
"version": "1.0.0",
"description": "My Electron application description",
"main": "src/index.js",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "echo \"No linting configured\""
},
"keywords": [],
"author": {
"name": "serkus01",
"email": "7erkus@gmail.com"
},
"license": "MIT",
"config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "webport_client"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
]
}
},
"dependencies": {
"electron-squirrel-startup": "^1.0.0"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.61",
"@electron-forge/maker-deb": "^6.0.0-beta.61",
"@electron-forge/maker-rpm": "^6.0.0-beta.61",
"@electron-forge/maker-squirrel": "^6.0.0-beta.61",
"@electron-forge/maker-zip": "^6.0.0-beta.61",
"electron": "15.1.2"
}
}

6
electron/webport-client/src/asset-manifest.json

@ -1,6 +0,0 @@
{
"main.css": "static/css/main.b5c2177a.css",
"main.css.map": "static/css/main.b5c2177a.css.map",
"main.js": "static/js/main.53383d3c.js",
"main.js.map": "static/js/main.53383d3c.js.map"
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save