-
Notifications
You must be signed in to change notification settings - Fork 119
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
ci: Added Windows workflow #1534
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Timestamp: 2021-01-27 08:05:41 |
7f693d4
to
f540ee6
Compare
f540ee6
to
bd0808b
Compare
@@ -13,6 +13,10 @@ val userHome: String by lazy { | |||
if (isWindows) System.getenv("HOMEPATH") else System.getProperty("user.home") | |||
} | |||
|
|||
val appDataDirectory: String by lazy { | |||
if (isWindows) System.getenv("APPDATA") else System.getProperty("user.home") |
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.
I had a feeling something related to HOMEPATH was going to be the issue. I assume that HOMEPATH you dont have write permissions on the VM'S 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.
exactly. User directory is for users 🎉 Just one working day to figure this out
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.
and basically this is good practice on Windows to keep app data into app data folder instead of user one
Fixes #1528
Test Plan
Windows workflow runs and passes
Checklist