Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F85924
RELEASE-WINDOWS.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
921 B
Referenced Files
None
Subscribers
None
RELEASE-WINDOWS.rb
View Options
#!/usr/bin/ruby
$qt
=
"C:/Qt/5.15.0/msvc2019"
$windeployqt
=
"C:/Qt/5.15.0/msvc2019/bin/windeployqt.exe"
#$qt = "" # スタティックリンクのとき
$openssl
=
"C:/Program Files (x86)/OpenSSL"
require
'fileutils'
load
'version.rb'
$workdir
=
"_release"
$dstdir
=
$workdir
+
"/"
+
$product_name
FileUtils
.
rm_rf
(
$workdir
)
FileUtils
.
mkpath
(
$dstdir
)
FileUtils
.
cp
(
"_bin/
#{
$product_name
}
.exe"
,
$dstdir
)
#FileUtils.cp("src/resources/translations/Guitar_ja.qm", $dstdir)
FileUtils
.
cp
(
$openssl
+
"/bin/libssl-1_1.dll"
,
$dstdir
)
FileUtils
.
cp
(
$openssl
+
"/bin/libcrypto-1_1.dll"
,
$dstdir
)
`7z x -o
#{
$dstdir
}
misc/win32tools.zip`
`move
#{
$dstdir
}
\\
win32tools
\\
*
#{
$dstdir
}
`
FileUtils
.
rmdir
(
"
#{
$dstdir
}
\\
win32tools"
)
`
#{
$windeployqt
}
#{
$dstdir
}
/
#{
$product_name
}
.exe`
pkgfilename
=
"
#{
$product_name
}
-
#{
$version_a
}
.
#{
$version_b
}
.
#{
$version_c
}
-win32.zip"
Dir
.
chdir
(
$workdir
)
{
`7z a
#{
pkgfilename
}
#{
$product_name
}
`
}
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Thu, Sep 4, 4:35 PM (3 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42514
Default Alt Text
RELEASE-WINDOWS.rb (921 B)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline
Log In to Comment