@algochad/archcoder 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{MultiRunWindow-BZp3MjJP.js → MultiRunWindow-DWSqqb1U.js} +1 -1
- package/dist/assets/{SettingsWindow-DoGYXpX7.js → SettingsWindow-SRJdxJbx.js} +1 -1
- package/dist/assets/{TerminalView-BN7BR5Ff.js → TerminalView-BYycNet-.js} +1 -1
- package/dist/assets/{TimelineDialog-ZQ33oVQR.js → TimelineDialog-C7rryZWn.js} +1 -1
- package/dist/assets/{ToolOutputDialog-Blv3pnug.js → ToolOutputDialog-CzWxL8w8.js} +1 -1
- package/dist/assets/{index-o_d2wtWC.js → index-DKc7ZmSW.js} +2 -2
- package/dist/assets/{main-B6oiMU86.js → main-CaAZH2Mv.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/server/lib/installer/desktop.js +7 -0
- package/server/lib/installer/platform.js +2 -2
package/dist/index.html
CHANGED
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
pointer-events: none;
|
|
440
440
|
}
|
|
441
441
|
</style>
|
|
442
|
-
<script type="module" crossorigin src="/assets/index-
|
|
442
|
+
<script type="module" crossorigin src="/assets/index-DKc7ZmSW.js"></script>
|
|
443
443
|
<link rel="modulepreload" crossorigin href="/assets/vendor-.bun-HTKwyaEM.js">
|
|
444
444
|
<link rel="stylesheet" crossorigin href="/assets/vendor--DbVqbJpV.css">
|
|
445
445
|
<link rel="stylesheet" crossorigin href="/assets/index-CtCEGYrr.css">
|
package/package.json
CHANGED
|
@@ -99,6 +99,13 @@ async function runCommand(command, args, options = {}) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
async function installLinuxIntegration(artifactPath, version, options) {
|
|
102
|
+
const isDeb = artifactPath.endsWith('.deb');
|
|
103
|
+
|
|
104
|
+
if (isDeb) {
|
|
105
|
+
await runCommand('sudo', ['dpkg', '-i', artifactPath], options);
|
|
106
|
+
return { appPath: artifactPath };
|
|
107
|
+
}
|
|
108
|
+
|
|
102
109
|
const installDir = getInstallDir();
|
|
103
110
|
fs.mkdirSync(installDir, { recursive: true });
|
|
104
111
|
|
|
@@ -49,8 +49,8 @@ function getElectronArtifactName(version, target) {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
if (isLinux) {
|
|
52
|
-
const arch = isArm ? 'arm64' : '
|
|
53
|
-
return `ArchCoder-${version}-${arch}.
|
|
52
|
+
const arch = isArm ? 'arm64' : 'amd64';
|
|
53
|
+
return `ArchCoder-${version}-${arch}.deb`;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
throw new Error(`Unknown target: ${target}`);
|