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

Slintpad standalone #2877

Merged
merged 2 commits into from Jun 15, 2023
Merged

Slintpad standalone #2877

merged 2 commits into from Jun 15, 2023

Conversation

hunger
Copy link
Member

@hunger hunger commented Jun 14, 2023

Patches to make slintpad more standalone, working from a single directory without any files needed from the outside. So this can be deployed into the document root or anywhere else and it should just-work(TM).

It also adds a XXXX_DEFAULT_TAG_XXXX string which can be overwritten in assets/index*.js to any value desired to load the expected version of the demos from the menu. If XXX_DEFAULT_TAG_XXXX is not changedm then the tag will default to master. In all cases the tag used in the path to the editor will override the default if slintpad is installed in /releases/TAG/editor.

@hunger
Copy link
Member Author

hunger commented Jun 14, 2023

@ogoffart: I only squashed your change into its base so that I can rebase that without littering the history. git diff to what was in here is empty.

@hunger hunger merged commit 0165a13 into slint-ui:master Jun 15, 2023
26 checks passed
@hunger hunger deleted the slintpad_standalone branch June 15, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants