feat(app): change ohif viewer to ohif app (#3451)

This commit is contained in:
Alireza authored and GitHub committed 2023-06-06 20:06:31 -04:00
1 parent 6715ad9bd6
commit 16afa740b6
333 files changed
+2123 -1149

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
console.log('preinstall.js');
const { exec } = require('child_process');
const log = (err, stdout, stderr) => console.log(stdout);
const GITHUB_TOKEN = process.env.GITHUB_TOKEN;
if (GITHUB_TOKEN) {
const command = `git config --global url."https://${GITHUB_TOKEN}:x-oauth-basic@github.com/".insteadOf ssh://git@github.com/`;
console.log(command);
exec(command, log);
} else {
console.log('No GITHUB_TOKEN found, skipping private repo customization');
}