Merge branch 'ICU-1356-enable-windows-platform-support' of https://github.com/hashicorp/boundary-ui into ICU-1356-enable-windows-platform-support

This commit is contained in:
Susmitha Girumala committed 2021-06-01 10:20:42 -04:00
commit a784eeecc2
6 files changed
+1330 -1351

No files matched your search

+10 -1
View File
@@ -122,11 +122,20 @@ yarn install
yarn build:ui:desktop
```
In windows, UI is generated using docker to provide a stable UI across platforms.
```cmd
yarn install
docker-compose -f docker-compose-embedding.yml run build-desktop-production
yarn build:ui:desktop:app
```
To provide a signing identify for macOS build, use `BOUNDARY_DESKTOP_SIGNING_IDENTITY`
environment variable to set signing certificate name (e.g Developer ID Application: * (*)).
environment variable to set signing certificate name (e.g Developer ID Application: * (*)) when building desktop app using `yarn build:ui:desktop:app`.
Assets are saved to `ui/desktop/electron-app/out/make/`.
DMG packaged desktop UI is available at asset location as `boundary.dmg`.
EXE archived desktop UI is available at asset location under `zip` folder.
### Connect Boundary UI to Boundary local instance
-6
View File
@@ -120,8 +120,6 @@
.rose-header {
-webkit-app-region: drag;
// Disable text selection to avoid text copy
-webkit-user-select: none;
min-height: sizing.rems(l) * 2;
padding-left: sizing.rems(l) * 3;
position: relative;
@@ -136,10 +134,6 @@
}
}
.rose-icon {
color: var(--subtle);
}
&.loading {
&::after {
animation: gradient 1s linear infinite;
+1
View File
@@ -53,6 +53,7 @@
</utilities.dropdown>
</header.utilities>
{{/if}}
</Rose::Header>
</layout.header>
+1 -1
View File
@@ -4,7 +4,7 @@ const { spawnSync } = require('../helpers/spawn-promise.js');
const cliPath = async () => {
let name = 'boundary';
if (isWindows) name = 'boundary.exe';
if (isWindows()) name = 'boundary.exe';
return path.resolve(__dirname, '..', 'cli', name);
};
+1 -2
View File
@@ -21,7 +21,6 @@ const sessionManager = require('./services/session-manager.js');
const menu = require('./config/menu.js');
const appUpdater = require('./helpers/app-updater.js');
const { isWindows } = require('./helpers/platform.js');
const isDev = require('electron-is-dev');
// Register the custom file protocol
@@ -115,7 +114,7 @@ app.on('ready', async () => {
mainWindow = new BrowserWindow({
width: 1280,
height: 760,
frame: !isWindows(),
titleBarStyle: 'hiddenInset',
webPreferences: {
partition,
sandbox: true,
+1317 -1341
View File
File diff suppressed because it is too large. Load diff