mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-04 12:29:46 -08:00
Version 1.1.0.0 update
This commit is contained in:
37
share/qt/Info.plist
Normal file
37
share/qt/Info.plist
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>casinocoin.icns</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>$VERSION, Copyright © 2009-$YEAR The Bitcoin developers</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>$VERSION</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$VERSION</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>CasinoCoin-Qt</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.casinocoin.CasinoCoin-Qt</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>org.casinocoin.CasinoCoinPayment</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>casinocoin</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
29
share/qt/clean_mac_info_plist.py
Normal file
29
share/qt/clean_mac_info_plist.py
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env python
|
||||
# Jonas Schnelli, 2013
|
||||
# make sure the CasinoCoin-Qt.app contains the right plist (including the right version)
|
||||
# fix made because of serval bugs in Qt mac deployment (https://bugreports.qt-project.org/browse/QTBUG-21267)
|
||||
|
||||
from string import Template
|
||||
from datetime import date
|
||||
|
||||
bitcoinDir = "./";
|
||||
|
||||
inFile = bitcoinDir+"/share/qt/Info.plist"
|
||||
outFile = "CasinoCoin-Qt.app/Contents/Info.plist"
|
||||
version = "unknown";
|
||||
|
||||
fileForGrabbingVersion = bitcoinDir+"bitcoin-qt.pro"
|
||||
for line in open(fileForGrabbingVersion):
|
||||
lineArr = line.replace(" ", "").split("=");
|
||||
if lineArr[0].startswith("VERSION"):
|
||||
version = lineArr[1].replace("\n", "");
|
||||
|
||||
fIn = open(inFile, "r")
|
||||
fileContent = fIn.read()
|
||||
s = Template(fileContent)
|
||||
newFileContent = s.substitute(VERSION=version,YEAR=date.today().year)
|
||||
|
||||
fOut = open(outFile, "w");
|
||||
fOut.write(newFileContent);
|
||||
|
||||
print "Info.plist fresh created"
|
||||
Reference in New Issue
Block a user