-
Notifications
You must be signed in to change notification settings - Fork 47
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
Update tahoma and mfc42 verb: use fileExists #1116
Conversation
Merge Phoenicis/Scripts:master into ImperatorS79/Scripts:master
updated Hearthstone (download application directly) (PhoenicisOrg#383)
Merge master
Merge recent commits
Merge master
Merge master
Merge master
Merge master
Merge master
Merge master
Merge master
Merge master
Merge master
Merge master
Merge master
Merge master
Merge Master
Merge master
Merge master
Merge master
@Zemogiter could you test if this fixes your errors with mfc42 and tahoma ? |
@ImperatorS79 I would like to wait until #1112 has been merged before we merge this |
@ImperatorS79 mfc42 works but in
|
@Zemogiter can you test again ? |
@@ -19,6 +19,10 @@ class Tahoma { | |||
const wizard = this.wine.wizard(); | |||
const prefixDirectory = this.wine.prefixDirectory(); | |||
const fontDirectory = this.wine.fontDirectory(); | |||
|
|||
if (!fileExists(fontDirectory)) { |
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.
The method name sounds strange in this case. Should we add a dedicated method for folders? What do you think @plata @ImperatorS79?
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.
We can do that. Would basically be an alias then, right?
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.
Actually I'm not sure. If we decide to split the functionality into a fileExists
and directoryExists
method we could also test whether the given path is not a file/directory but instead a directory/file, depending on the regarded method.
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.
Sounds reasonable.
Please fix the PR title before merging. |
@ImperatorS79 at the begining of .cab file extraction I get the error saying the fonts directory does not exist but it does
|
Yes, I have the same kind of error in other verbs when testing Adobe Photoshop script, that says system32 does not exist. But it was actually that it did not find the file to copy. I do not know why we have this error. |
The error only occurs when a Can you try adding a |
@madoar done that, still getting the same error |
I'm still confuses from which line in which script this error is thrown... The issue is that the source path/directory in a |
You can add some log output like print("1");
// do something
print("2");
// do something more to figure out where exactly the error is caused. |
Are there any updates on this? |
Just copied the moded verbs and getting this error durring Sims 3 installation:
Runing the latest source code and script repo. |
Yes the PR needs to be rebased. The changes to the plugins are not included. |
@ImperatorS79 please rebase |
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 PR needs to be rebased
Too bad we can't use dependabot in non-dependabot PRs to rebase them. |
Merge master
@ImperatorS79 please remove trailing spaces |
If you're interested in having this rebase action, please open an issue regarding it. Then we can discuss. |
* Update script.js
Description
Fix a part of #1107 relating mfc42.
Ready for review
json-align
andeslint
run according to the documentation.