Skip to content
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

feat(app-config): Add option to override the app name #205

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jun 20, 2024

Some apps use a different name in package.json than the real app ID is. But we need the app ID, so add an option to override it.

Some apps use a different name in package.json than the real app ID is.
But we need the app ID, so add an option to override it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added enhancement New feature or request 3. to review Ready to review labels Jun 20, 2024
@susnux susnux requested review from st3iny and ShGKme June 20, 2024 10:27
Copy link
Contributor

@st3iny st3iny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice ✨

@susnux
Copy link
Contributor Author

susnux commented Jun 20, 2024

/backport to stable1

@susnux susnux merged commit b6c6c9c into main Jun 20, 2024
12 checks passed
@susnux susnux deleted the feat/appname-override branch June 20, 2024 10:35
Comment on lines -130 to +137
runtime: `window.OC.filePath('${appName}', '', '${filename}')`,
runtime: `window.OC.filePath('${options.appName}', '', '${filename}')`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows us to have different names on package.json and appInfo.id. So it allows us to not rename Talk to Spreed in package.json

However, it forces us to set appName to appInfo.id, which doesn't make much sense - we can also read it from the file. So it doesn't allows us to have talk-something.js as an output.

@susnux susnux mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants