-
Notifications
You must be signed in to change notification settings - Fork 739
feat: add run from ASAR button #1695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
3b25345
7fe1b21
eee6ea4
177b402
4126b85
15a7597
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -20,11 +20,16 @@ export enum ForgeCommands { | |||||||||||||
| MAKE = 'make', | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| interface runOptions { | ||||||||||||||
| runFromAsar: boolean; | ||||||||||||||
| } | ||||||||||||||
|
||||||||||||||
| interface runOptions { | |
| runFromAsar: boolean; | |
| } | |
| export interface RunOptions { | |
| runFromAsar?: boolean; | |
| } |
Should start with a capital letter to match existing style, and should be exported since it's part of the public API for this file. Since these are options, runFromAsar should be optional as more options may be added in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, missed the capital letter there, thanks for catching that!
Exported it and made runFromAsar optional.
AlokYadavCodes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be added to StartFiddleParams, and then it will be handled automatically by the ...params in the call to window.ElectronFiddle.startFiddle below. This will also require changes in src/main/fiddle-core.ts to plumb it into the call to runner.spawn.
Uh oh!
There was an error while loading. Please reload this page.