Skip to content

Commit

Permalink
added dummy content to pass build test
Browse files Browse the repository at this point in the history
Borrowed from @jsmorley's ConfigActive latest stable for testing bitness check of plugins
  • Loading branch information
2bndy5 committed Jul 4, 2020
1 parent 65393c3 commit a1988c1
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 7 deletions.
Binary file added @Vault/Initials.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added Layouts/Test.ini
Empty file.
Binary file added Plugins/Test/32bit/ConfigActive.dll
Binary file not shown.
Binary file added Plugins/Test/64bit/ConfigActive.dll
Binary file not shown.
26 changes: 26 additions & 0 deletions RMSKIN.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[rmskin]
; REQUIRED This will be the Rainmeter file-type to load on-package-install
LoadType=Skin

; REQUIRED This will be the Rainmeter file to load on-package-install
Load=Test\test.ini

; CONVENTIONAL This will be the minimum version of Rainmeter required by
; the installing package
MinimumRainmeter=4.3

; CONVENTIONAL This will be the windows internal version required by the
; installing package. Notice the value "5.1" indicates Windows 7
MinimumWindows=5.1

; Leave "Version" set to "auto" to use github action release tag.
; Anything other than "auto" will be used despite the github release tag
; Version=auto

; Leave "Author" commented out to use the github username
; Or type and uncomment it on the next line
; [email protected]

; To use a Custom name different from your repository name,
; type and uncomment it on the next line
; Name=Goo-e
Empty file added Skins/Test/test.ini
Empty file.
9 changes: 2 additions & 7 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def main():
HAS_COMPONENTS["@Vault"] = len(dirnames) + len(filenames)
print("Found {} possible @Vault item(s)".format(HAS_COMPONENTS["@Vault"]))
elif dirpath.endswith("Plugins"):
HAS_COMPONENTS["Plugins"] = len(dirnames)
if len(dirnames) > 0:
HAS_COMPONENTS["Plugins"] = len(filenames) / len(dirnames)
print("Found {} possible Plugin(s)".format(HAS_COMPONENTS["Plugins"]))
elif dirpath.endswith("Layouts"):
HAS_COMPONENTS["Layouts"] = len(filenames) + len(dirnames)
Expand Down Expand Up @@ -178,8 +179,6 @@ def main():
for n in filenames:
if n.lower().endswith(".dll"):
# let plugin_name be 2nd last folder name in dll's path
plugin_name = dirpath.split(os.sep)
plugin_name = plugin_name[len(plugin_name) - 2]
bitness = pefile.PE(
dirpath + os.sep + n,
fast_load=True, # just get headers
Expand All @@ -192,8 +191,6 @@ def main():
dirpath + os.sep + n,
arcname=key
+ os.sep
+ plugin_name
+ os.sep
+ "32bit"
+ os.sep
+ n,
Expand All @@ -204,8 +201,6 @@ def main():
dirpath + os.sep + n,
arcname=key
+ os.sep
+ plugin_name
+ os.sep
+ "64bit"
+ os.sep
+ n,
Expand Down

0 comments on commit a1988c1

Please sign in to comment.