mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
add cloudlink
to core
This commit is contained in:
parent
3d8f64198a
commit
c2115ba3ad
0
.debuggers
Normal file → Executable file
0
.debuggers
Normal file → Executable file
0
.github/ISSUE_TEMPLATE/01-bug.md
vendored
Normal file → Executable file
0
.github/ISSUE_TEMPLATE/01-bug.md
vendored
Normal file → Executable file
0
.github/ISSUE_TEMPLATE/02-feature.md
vendored
Normal file → Executable file
0
.github/ISSUE_TEMPLATE/02-feature.md
vendored
Normal file → Executable file
0
.github/workflows/changelog.yml
vendored
Normal file → Executable file
0
.github/workflows/changelog.yml
vendored
Normal file → Executable file
0
.github/workflows/codeql-analysis.yml
vendored
Normal file → Executable file
0
.github/workflows/codeql-analysis.yml
vendored
Normal file → Executable file
0
.github/workflows/trello_issue.yml
vendored
Normal file → Executable file
0
.github/workflows/trello_issue.yml
vendored
Normal file → Executable file
0
.vscode-janus-debug
Normal file → Executable file
0
.vscode-janus-debug
Normal file → Executable file
0
.vscode/components_schemas.code-snippets
vendored
Normal file → Executable file
0
.vscode/components_schemas.code-snippets
vendored
Normal file → Executable file
0
.vscode/functions_schemas.code-snippets
vendored
Normal file → Executable file
0
.vscode/functions_schemas.code-snippets
vendored
Normal file → Executable file
0
.vscode/launch.json
vendored
Normal file → Executable file
0
.vscode/launch.json
vendored
Normal file → Executable file
0
.vscode/settings.json
vendored
Normal file → Executable file
0
.vscode/settings.json
vendored
Normal file → Executable file
0
callback_codes.md
Normal file → Executable file
0
callback_codes.md
Normal file → Executable file
0
config/app_keys.js
Normal file → Executable file
0
config/app_keys.js
Normal file → Executable file
0
config/endpoints.js
Normal file → Executable file
0
config/endpoints.js
Normal file → Executable file
0
config/handlers/errToFlag.js
Normal file → Executable file
0
config/handlers/errToFlag.js
Normal file → Executable file
0
config/handlers/errToStrings.js
Normal file → Executable file
0
config/handlers/errToStrings.js
Normal file → Executable file
0
config/handlers/flagToBehavior.js
Normal file → Executable file
0
config/handlers/flagToBehavior.js
Normal file → Executable file
0
config/handlers/numToError.js
Normal file → Executable file
0
config/handlers/numToError.js
Normal file → Executable file
0
config/index.js
Normal file → Executable file
0
config/index.js
Normal file → Executable file
0
electron-builder.yml
Normal file → Executable file
0
electron-builder.yml
Normal file → Executable file
0
globals/badges_list.json
Normal file → Executable file
0
globals/badges_list.json
Normal file → Executable file
0
globals/contextMenu.js
Normal file → Executable file
0
globals/contextMenu.js
Normal file → Executable file
0
globals/links.js
Normal file → Executable file
0
globals/links.js
Normal file → Executable file
0
globals/links.json
Normal file → Executable file
0
globals/links.json
Normal file → Executable file
0
globals/post_options.json
Normal file → Executable file
0
globals/post_options.json
Normal file → Executable file
0
globals/settings.json
Normal file → Executable file
0
globals/settings.json
Normal file → Executable file
0
globals/sidebar_menu.js
Normal file → Executable file
0
globals/sidebar_menu.js
Normal file → Executable file
0
globals/sidebar_menu.json
Normal file → Executable file
0
globals/sidebar_menu.json
Normal file → Executable file
0
globals/theme_settings.js
Normal file → Executable file
0
globals/theme_settings.js
Normal file → Executable file
0
globals/theme_settings.json
Normal file → Executable file
0
globals/theme_settings.json
Normal file → Executable file
0
jest.config.js
Normal file → Executable file
0
jest.config.js
Normal file → Executable file
0
main/configs/config.js
Normal file → Executable file
0
main/configs/config.js
Normal file → Executable file
0
main/icon.png
Normal file → Executable file
0
main/icon.png
Normal file → Executable file
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
4
main/index.js
Normal file → Executable file
4
main/index.js
Normal file → Executable file
@ -21,7 +21,7 @@ const packagejson = require('../package.json')
|
|||||||
const is = require('electron-is')
|
const is = require('electron-is')
|
||||||
const waitOn = require('wait-on');
|
const waitOn = require('wait-on');
|
||||||
const { getDoNotDisturb } = require('electron-notification-state');
|
const { getDoNotDisturb } = require('electron-notification-state');
|
||||||
const { app } = require("../config");
|
const RuntimeConfig = require("../config");
|
||||||
|
|
||||||
let app_path = is.dev()? "localhost:8000" : `file://${path.join(__dirname, '..', 'renderer')}/index.html`;
|
let app_path = is.dev()? "localhost:8000" : `file://${path.join(__dirname, '..', 'renderer')}/index.html`;
|
||||||
let mainWindow;
|
let mainWindow;
|
||||||
@ -159,7 +159,7 @@ function createWindow() {
|
|||||||
];
|
];
|
||||||
|
|
||||||
tray.setContextMenu(Menu.buildFromTemplate(trayMenuTemplate))
|
tray.setContextMenu(Menu.buildFromTemplate(trayMenuTemplate))
|
||||||
tray.setToolTip(app.siteName)
|
tray.setToolTip(RuntimeConfig.siteName)
|
||||||
tray.on('double-click', () => resumeApp())
|
tray.on('double-click', () => resumeApp())
|
||||||
|
|
||||||
mainWindow.loadURL(app_path)
|
mainWindow.loadURL(app_path)
|
||||||
|
0
main/statics/loading.css
Normal file → Executable file
0
main/statics/loading.css
Normal file → Executable file
0
main/statics/loading.html
Normal file → Executable file
0
main/statics/loading.html
Normal file → Executable file
0
main/statics/loading_dev.html
Normal file → Executable file
0
main/statics/loading_dev.html
Normal file → Executable file
5
package-lock.json
generated
Normal file → Executable file
5
package-lock.json
generated
Normal file → Executable file
@ -2439,6 +2439,11 @@
|
|||||||
"glob-to-regexp": "^0.3.0"
|
"glob-to-regexp": "^0.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@nodecorejs/dot-runtime": {
|
||||||
|
"version": "0.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nodecorejs/dot-runtime/-/dot-runtime-0.3.1.tgz",
|
||||||
|
"integrity": "sha512-i2HDfr4E3S6CVUPdAZeByTLiCOfN4M269wA/y6FHk+IhjUcAMMvhfY/kQqt347eHdSOEI/zVf3wOG4txo1+RSQ=="
|
||||||
|
},
|
||||||
"@nodelib/fs.scandir": {
|
"@nodelib/fs.scandir": {
|
||||||
"version": "2.1.3",
|
"version": "2.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
|
||||||
|
1
package.json
Normal file → Executable file
1
package.json
Normal file → Executable file
@ -37,6 +37,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@icons-pack/react-simple-icons": "^3.8.0",
|
"@icons-pack/react-simple-icons": "^3.8.0",
|
||||||
"@lingui/react": "^2.9.2",
|
"@lingui/react": "^2.9.2",
|
||||||
|
"@nodecorejs/dot-runtime": "^0.3.1",
|
||||||
"@ragestudio/nodecore-api-lib": "^0.2.6",
|
"@ragestudio/nodecore-api-lib": "^0.2.6",
|
||||||
"@ragestudio/nodecore-utils": "^0.1.18",
|
"@ragestudio/nodecore-utils": "^0.1.18",
|
||||||
"@types/jest": "^26.0.15",
|
"@types/jest": "^26.0.15",
|
||||||
|
0
plugins/index.js
Normal file → Executable file
0
plugins/index.js
Normal file → Executable file
0
public/favicon.png
Normal file → Executable file
0
public/favicon.png
Normal file → Executable file
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
0
src/components/About/index.js
Normal file → Executable file
0
src/components/About/index.js
Normal file → Executable file
0
src/components/About/index.less
Normal file → Executable file
0
src/components/About/index.less
Normal file → Executable file
0
src/components/CardComponent/index.tsx
Normal file → Executable file
0
src/components/CardComponent/index.tsx
Normal file → Executable file
0
src/components/FloatComponent/index.tsx
Normal file → Executable file
0
src/components/FloatComponent/index.tsx
Normal file → Executable file
0
src/components/Icons/custom.js
Normal file → Executable file
0
src/components/Icons/custom.js
Normal file → Executable file
0
src/components/Icons/index.js
Normal file → Executable file
0
src/components/Icons/index.js
Normal file → Executable file
0
src/components/Invalid/index.js
Normal file → Executable file
0
src/components/Invalid/index.js
Normal file → Executable file
0
src/components/Invalid/index.less
Normal file → Executable file
0
src/components/Invalid/index.less
Normal file → Executable file
0
src/components/Layout/ContextMenu/index.less
Normal file → Executable file
0
src/components/Layout/ContextMenu/index.less
Normal file → Executable file
0
src/components/Layout/ContextMenu/index.tsx
Normal file → Executable file
0
src/components/Layout/ContextMenu/index.tsx
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__searchBar.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__searchBar.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__searchBar.less
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__searchBar.less
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__suggestions.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__suggestions.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__suggestions.less
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__suggestions.less
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__trendings.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__trendings.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__trendings.less
Normal file → Executable file
0
src/components/Layout/Overlay/components/cards/__trendings.less
Normal file → Executable file
0
src/components/Layout/Overlay/components/index.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/index.js
Normal file → Executable file
0
src/components/Layout/Overlay/components/layout/Primary.tsx
Normal file → Executable file
0
src/components/Layout/Overlay/components/layout/Primary.tsx
Normal file → Executable file
0
src/components/Layout/Overlay/index.js
Normal file → Executable file
0
src/components/Layout/Overlay/index.js
Normal file → Executable file
0
src/components/Layout/Overlay/reducers.js
Normal file → Executable file
0
src/components/Layout/Overlay/reducers.js
Normal file → Executable file
0
src/components/Layout/RightSider/components/invalid/index.js
Normal file → Executable file
0
src/components/Layout/RightSider/components/invalid/index.js
Normal file → Executable file
0
src/components/Layout/RightSider/components/profileCard/index.js
Normal file → Executable file
0
src/components/Layout/RightSider/components/profileCard/index.js
Normal file → Executable file
0
src/components/Layout/RightSider/components/searchBar/index.js
Normal file → Executable file
0
src/components/Layout/RightSider/components/searchBar/index.js
Normal file → Executable file
0
src/components/Layout/RightSider/components/searchBar/index.less
Normal file → Executable file
0
src/components/Layout/RightSider/components/searchBar/index.less
Normal file → Executable file
0
src/components/Layout/RightSider/index.js
Normal file → Executable file
0
src/components/Layout/RightSider/index.js
Normal file → Executable file
0
src/components/Layout/Sider/default/index.js
Normal file → Executable file
0
src/components/Layout/Sider/default/index.js
Normal file → Executable file
0
src/components/Layout/Sider/default/index.less
Normal file → Executable file
0
src/components/Layout/Sider/default/index.less
Normal file → Executable file
0
src/components/Layout/Sider/mobile/index.js
Normal file → Executable file
0
src/components/Layout/Sider/mobile/index.js
Normal file → Executable file
0
src/components/Layout/Sider/mobile/index.less
Normal file → Executable file
0
src/components/Layout/Sider/mobile/index.less
Normal file → Executable file
0
src/components/Layout/WindowNavbar/index.js
Normal file → Executable file
0
src/components/Layout/WindowNavbar/index.js
Normal file → Executable file
0
src/components/Layout/WindowNavbar/index.less
Normal file → Executable file
0
src/components/Layout/WindowNavbar/index.less
Normal file → Executable file
0
src/components/ListedMenu/index.less
Normal file → Executable file
0
src/components/ListedMenu/index.less
Normal file → Executable file
0
src/components/ListedMenu/index.tsx
Normal file → Executable file
0
src/components/ListedMenu/index.tsx
Normal file → Executable file
0
src/components/Page/Page.less
Normal file → Executable file
0
src/components/Page/Page.less
Normal file → Executable file
0
src/components/Page/index.js
Normal file → Executable file
0
src/components/Page/index.js
Normal file → Executable file
0
src/components/ParamsList/index.js
Normal file → Executable file
0
src/components/ParamsList/index.js
Normal file → Executable file
0
src/components/PostCard/components/like/index.js
Normal file → Executable file
0
src/components/PostCard/components/like/index.js
Normal file → Executable file
0
src/components/PostCard/components/like/index.less
Normal file → Executable file
0
src/components/PostCard/components/like/index.less
Normal file → Executable file
0
src/components/PostCard/index.js
Normal file → Executable file
0
src/components/PostCard/index.js
Normal file → Executable file
0
src/components/PostCard/index.less
Normal file → Executable file
0
src/components/PostCard/index.less
Normal file → Executable file
0
src/components/PostFeed/index.js
Normal file → Executable file
0
src/components/PostFeed/index.js
Normal file → Executable file
0
src/components/PostFeed/index.less
Normal file → Executable file
0
src/components/PostFeed/index.less
Normal file → Executable file
0
src/components/Splash/index.js
Normal file → Executable file
0
src/components/Splash/index.js
Normal file → Executable file
0
src/components/Splash/index.less
Normal file → Executable file
0
src/components/Splash/index.less
Normal file → Executable file
0
src/core/index.js
Normal file → Executable file
0
src/core/index.js
Normal file → Executable file
0
src/core/libs/browser/index.ts
Normal file → Executable file
0
src/core/libs/browser/index.ts
Normal file → Executable file
23
src/core/libs/cloudlink/index.js
Normal file
23
src/core/libs/cloudlink/index.js
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
import verbosity from 'core/libs/verbosity'
|
||||||
|
import handle from 'core/libs/errorhandler'
|
||||||
|
import { notify } from 'core/libs/ui'
|
||||||
|
import settings from 'core/libs/settings'
|
||||||
|
import endpoints from 'config/endpoints'
|
||||||
|
import { v3_model } from 'core/libs'
|
||||||
|
|
||||||
|
import { getRuntime } from '@nodecore/dot-runtime'
|
||||||
|
|
||||||
|
export function NewFunction(payload, callback){
|
||||||
|
if (!payload) return false
|
||||||
|
const { data } = payload
|
||||||
|
|
||||||
|
return callback(false, null)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const ObjectFunction = {
|
||||||
|
something: (payload, callback) => {
|
||||||
|
return callback(false, null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default NewFunction
|
0
src/core/libs/dynamicsdcp/index.js
Normal file → Executable file
0
src/core/libs/dynamicsdcp/index.js
Normal file → Executable file
0
src/core/libs/errorhandler/index.js
Normal file → Executable file
0
src/core/libs/errorhandler/index.js
Normal file → Executable file
0
src/core/libs/globals/index.js
Normal file → Executable file
0
src/core/libs/globals/index.js
Normal file → Executable file
0
src/core/libs/index.js
Normal file → Executable file
0
src/core/libs/index.js
Normal file → Executable file
0
src/core/libs/keybinds/index.js
Normal file → Executable file
0
src/core/libs/keybinds/index.js
Normal file → Executable file
0
src/core/libs/router/index.js
Normal file → Executable file
0
src/core/libs/router/index.js
Normal file → Executable file
0
src/core/libs/settings/index.js
Normal file → Executable file
0
src/core/libs/settings/index.js
Normal file → Executable file
0
src/core/libs/socket/index.ts
Normal file → Executable file
0
src/core/libs/socket/index.ts
Normal file → Executable file
0
src/core/libs/style/index.js
Normal file → Executable file
0
src/core/libs/style/index.js
Normal file → Executable file
0
src/core/libs/ui/export_data/index.tsx
Normal file → Executable file
0
src/core/libs/ui/export_data/index.tsx
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user