-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use resource_path() to access files in our own module
__file__ doesn't work if mkosi is packaged up as a zipapp, let's use resource_path() which is specifically intended to solve this problem and works regardless of whether we're in a zipapp or not.
- Loading branch information
1 parent
10918a9
commit 0a815a2
Showing
2 changed files
with
116 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters