mirror of
https://github.com/ViViDboarder/abuse-the-force.git
synced 2024-11-22 04:56:32 +00:00
parent
a2c144667e
commit
8030fe5f57
@ -175,7 +175,7 @@ module AbuseTheForce
|
|||||||
eos
|
eos
|
||||||
|
|
||||||
# Compress the resource
|
# Compress the resource
|
||||||
`zip -r #{zip_path} #{resource_path}`
|
`cd $(dirname "#{resource_path}") && zip -r #{zip_path} #{resource_name}`
|
||||||
|
|
||||||
# Write the meta.xml
|
# Write the meta.xml
|
||||||
File.open(zip_path + '-meta.xml', 'w') {|f| f.write(static_resource_xml) }
|
File.open(zip_path + '-meta.xml', 'w') {|f| f.write(static_resource_xml) }
|
||||||
|
Loading…
Reference in New Issue
Block a user