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

Fix windows dev #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Pebkac03
Copy link

@Pebkac03 Pebkac03 commented Dec 12, 2024

resolves Stacked-Org/stacked#1146 and resolves Stacked-Org/stacked#1147

In regards to malformed file fix: the only time the modified function runs is when running stacked compile. Hence no possibility that I can see of it breaking something else. The result is that the compiled_templates.dart always has unix path separators, which it already did on main so no change there.

I've tested running the create view in a sandbox project i have and it works without issue.

In regards to new flag:
There might be another way to make _notifyNewVersion work. Just seems dumb to make it work in a situation where it has no usefullness, thought adding the option to disable it via a flag seemed better.

Copy link
Contributor

@FilledStacks FilledStacks left a comment

Choose a reason for hiding this comment

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

The code changes looks good.

Just need to know why library is added to the files containing contants.

@@ -1,4 +1,5 @@
/// Stores all the commands used throughout the app that
library;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is the library keyword added to this file, and the same for the one below?

Copy link
Author

Choose a reason for hiding this comment

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

Se my other PR for Offline mode, I've answered there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants