-
-
Notifications
You must be signed in to change notification settings - Fork 822
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
avm2: Support AIR application arguments #17609
base: master
Are you sure you want to change the base?
Conversation
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.
Sorry for the delay in reviewing this. A few comments but otherwise looks good to me, thank you!
@@ -1,6 +1,7 @@ | |||
network-settings = Paramètres réseau | |||
player-settings = Paramètres du lecteur | |||
movie-parameters = Paramètres de l'animation | |||
air-arguments = Arguments de l'application AIR |
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.
FYI this will be deleted, these files are auto generated - you need to provide the translation on crowdin after the PR lands
} | ||
}); | ||
|
||
Grid::new("open-file-params") |
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 ID needs to be unique
@@ -337,6 +337,10 @@ impl OpenDialog { | |||
self.movie_parameters(locale, ui); | |||
}); | |||
|
|||
ui.collapsing(text(locale, "air-arguments"), |ui| { |
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.
Can we only show this if the player type is air?
@@ -667,6 +667,13 @@ export interface BaseLoadOptions { | |||
* This allows you to emulate Adobe AIR or Adobe Flash Player. | |||
*/ | |||
playerRuntime?: PlayerRuntime; | |||
|
|||
/** | |||
* Arguments variables to pass to the AIR application. |
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.
* Arguments variables to pass to the AIR application. | |
* Arguments to make available to the content through AIR's `NativeApplication.arguments`. This is only applicable if `playerRuntime` is `"air"`. |
Depends on #17299