-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 8ea38f8 🚀
- Loading branch information
Showing
193 changed files
with
108,719 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+1 KB
...es-action-to-latest-node/container-platform-starter/common/images/icon-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.01 MB
...ates-action-to-latest-node/container-platform-starter/common/images/style/test-image.webp
Binary file not shown.
929 changes: 929 additions & 0 deletions
929
...i/DEVOP-881/updates-action-to-latest-node/container-platform-starter/common/style/app.css
Large diffs are not rendered by default.
Oops, something went wrong.
410 changes: 410 additions & 0 deletions
410
...EVOP-881/updates-action-to-latest-node/container-platform-starter/common/style/style.html
Large diffs are not rendered by default.
Oops, something went wrong.
55 changes: 55 additions & 0 deletions
55
...action-to-latest-node/container-platform-starter/common/views/platform/of-info/index.html
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,55 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
<title>OpenFin Information</title> | ||
<link rel="icon" type="image/x-icon" href="../../../../favicon.ico" /> | ||
<link rel="stylesheet" href="../../../style/app.css" /> | ||
<script defer="defer" src="./of-info.js"></script> | ||
</head> | ||
|
||
<body class="col fill gap20"> | ||
<header class="row spread middle"> | ||
<div class="col"> | ||
<h1>OpenFin Information</h1> | ||
<h1 class="tag">Information about the OpenFin environment</h1> | ||
</div> | ||
<div class="row middle gap10"> | ||
<image src="../../../images/icon-blue.png" alt="OpenFin" height="40px"></image> | ||
</div> | ||
</header> | ||
<main class="fill col scroll-vertical gap10"> | ||
<fieldset> | ||
<label for="rvmVersion">RVM Version</label> | ||
<span id="rvmVersion"></span> | ||
</fieldset> | ||
<fieldset> | ||
<label for="rvmPath">RVM Path</label> | ||
<span id="rvmPath"></span> | ||
</fieldset> | ||
<fieldset> | ||
<label for="appLogDirectory">App Log Directory</label> | ||
<span id="appLogDirectory"></span> | ||
</fieldset> | ||
<hr /> | ||
<fieldset> | ||
<label for="runtimeVersion">Runtime Version</label> | ||
<span id="runtimeVersion"></span> | ||
</fieldset> | ||
<fieldset> | ||
<label for="chromeVersion">Chrome Version</label> | ||
<span id="chromeVersion"></span> | ||
</fieldset> | ||
<fieldset> | ||
<label for="electronVersion">Electron Version</label> | ||
<span id="electronVersion"></span> | ||
</fieldset> | ||
<hr /> | ||
<fieldset> | ||
<label for="platformIdentity">Platform Identity</label> | ||
<span id="platformIdentity" class="nowrap"></span> | ||
</fieldset> | ||
</main> | ||
</body> | ||
</html> |
60 changes: 60 additions & 0 deletions
60
...action-to-latest-node/container-platform-starter/common/views/platform/of-info/of-info.js
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,60 @@ | ||
/** | ||
* Displays a view with information about the OpenFin runtime. | ||
*/ | ||
|
||
document.addEventListener('DOMContentLoaded', () => { | ||
try { | ||
init(); | ||
} catch (error) { | ||
console.error(error); | ||
} | ||
}); | ||
|
||
/** | ||
* Initialize the DOM elements. | ||
*/ | ||
async function init() { | ||
let rvmInfo; | ||
|
||
try { | ||
rvmInfo = await fin.System.getRvmInfo(); | ||
} catch (err) { | ||
console.error(err); | ||
} | ||
|
||
const rvmVersionElement = document.querySelector('#rvmVersion'); | ||
rvmVersionElement.textContent = `v${rvmInfo?.version ?? 'unknown'}`; | ||
|
||
const rvmPathElement = document.querySelector('#rvmPath'); | ||
rvmPathElement.textContent = rvmInfo?.path ?? 'unknown'; | ||
|
||
const appLogDirectoryElement = document.querySelector('#appLogDirectory'); | ||
appLogDirectoryElement.textContent = rvmInfo?.appLogDirectory ?? 'unknown'; | ||
|
||
let runtimeInfo; | ||
try { | ||
runtimeInfo = await fin.System.getRuntimeInfo(); | ||
} catch (err) { | ||
console.error(err); | ||
} | ||
|
||
const runtimeVersionElement = document.querySelector('#runtimeVersion'); | ||
runtimeVersionElement.textContent = `v${runtimeInfo?.version ?? 'unknown'}`; | ||
|
||
const chromeVersionElement = document.querySelector('#chromeVersion'); | ||
chromeVersionElement.textContent = `v${runtimeInfo?.chromeVersion ?? 'unknown'}`; | ||
|
||
const electronVersionElement = document.querySelector('#electronVersion'); | ||
electronVersionElement.textContent = runtimeInfo?.electronVersion ?? 'unknown'; | ||
|
||
let platform; | ||
|
||
try { | ||
platform = fin.Platform.getCurrentSync(); | ||
} catch (err) { | ||
console.error(err); | ||
} | ||
|
||
const platformIdentityElement = document.querySelector('#platformIdentity'); | ||
platformIdentityElement.textContent = platform?.identity?.uuid ?? 'unknown'; | ||
} |
Binary file added
BIN
+106 KB
eoyewobi/DEVOP-881/updates-action-to-latest-node/container-platform-starter/favicon.ico
Binary file not shown.
15 changes: 15 additions & 0 deletions
15
...obi/DEVOP-881/updates-action-to-latest-node/container-platform-starter/html/provider.html
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,15 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<title>Platform Provider</title> | ||
<link rel="icon" type="image/x-icon" href="../favicon.ico" /> | ||
<meta name="description" content="" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<script src="../js/provider.bundle.js"></script> | ||
</head> | ||
<body> | ||
<div>Custom Provider...</div> | ||
</body> | ||
</html> |
11 changes: 11 additions & 0 deletions
11
.../DEVOP-881/updates-action-to-latest-node/container-platform-starter/js/provider.bundle.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
...wobi/DEVOP-881/updates-action-to-latest-node/container-platform-starter/manifest.fin.json
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,43 @@ | ||
{ | ||
"runtime": { | ||
"arguments": "--v=1 --inspect", | ||
"version": "38.126.83.79" | ||
}, | ||
"platform": { | ||
"enableBeforeUnload": true, | ||
"uuid": "container-platform-starter", | ||
"icon": "https://built-on-openfin.github.io/container-starter/eoyewobi/DEVOP-881/updates-action-to-latest-node/container-platform-starter/favicon.ico", | ||
"autoShow": false, | ||
"providerUrl": "https://built-on-openfin.github.io/container-starter/eoyewobi/DEVOP-881/updates-action-to-latest-node/container-platform-starter/html/provider.html" | ||
}, | ||
"snapshot": { | ||
"windows": [ | ||
{ | ||
"layout": { | ||
"content": [ | ||
{ | ||
"type": "row", | ||
"content": [ | ||
{ | ||
"type": "stack", | ||
"content": [ | ||
{ | ||
"type": "component", | ||
"title": "view1", | ||
"componentName": "view", | ||
"componentState": { | ||
"url": "https://built-on-openfin.github.io/container-starter/eoyewobi/DEVOP-881/updates-action-to-latest-node/container-platform-starter/common/views/platform/of-info/index.html", | ||
"name": "view1", | ||
"componentName": "view" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
eoyewobi/DEVOP-881/updates-action-to-latest-node/create-window/app.fin.json
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,28 @@ | ||
{ | ||
"devtools_port": 9090, | ||
"startup_app": { | ||
"name": "OpenMultipleWindows", | ||
"description": "OpenMultipleWindows", | ||
"url": "http://www.google.com", | ||
"showTaskbarIcon": true, | ||
"taskbarIcon": "http://cdn.openfin.co/hyperblotter/favicon.ico", | ||
"icon": "http://cdn.openfin.co/hyperblotter/favicon.ico", | ||
"uuid": "OpenMultipleWindows", | ||
"autoShow": true, | ||
"contextMenu": true, | ||
"defaultHeight": 500, | ||
"defaultwidth": 500, | ||
"frame": true, | ||
"defaultCentered": true, | ||
"resizable": true | ||
}, | ||
"runtime": { | ||
"arguments": "--enable-crash-reporting --no-sandbox", | ||
"version": "38.126.83.79" | ||
}, | ||
"shortcut": { | ||
"company": "OpenFin", | ||
"description": "Openfin openfin application window Sample", | ||
"name": "Openfin application window" | ||
} | ||
} |
Binary file added
BIN
+1 KB
...VOP-881/updates-action-to-latest-node/create-window/common/images/icon-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.