Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Browser_IDE/IDEStartupMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ async function StartIDE() {
setupFilePanelAndEvents();

setupMinifiedInterface();

let projectID = SKO.projectID; //get the projectID

// Initialize compiler in parallel with everything else
// This is where the bulk of the startup occurs
Expand All @@ -43,10 +45,14 @@ async function StartIDE() {
executionEnviroment.initialize(),
(async () => {
await appStorage.attach();
await storedProject.attachToProject();
if (projectID) {
await storedProject.attachToProject(projectID);
} else {
await storedProject.attachToProject();
}
openCodeEditors();
})()
])
]);

makingNewProject = false;

Expand Down
2 changes: 2 additions & 0 deletions Browser_IDE/splashKitOnlineEnvParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ let SKO = (function(){
useCompressedBinaries: getEnvParam("useCompressedBinaries", "on", true) == "on",
useMinifiedInterface: getEnvParam("useMinifiedInterface") == "on",
isPRPreview: getEnvParam("isPRPreview", isPreview ? "on" : "off") == "on",
// add projectID
projectID: getEnvParam("projectID", null, true)
};
})();
Loading