Commit fa53de98 authored by Peter Zhigalov's avatar Peter Zhigalov

Унифицировал строки описания приложений и добавил создание lproj-директорий в deploy-скрипты

parent 0947f867
......@@ -17,7 +17,10 @@ ${CMD_QMAKE} CONFIG+="release" CONFIG+="x86_64" -r -spec unsupported/macx-clang
make
cp -a "../${V_INFO_PLIST}" "${V_APPNAME}.app/Contents/Info.plist"
sed -e 's/10.6.0/10.5.0/' -i "" "${V_APPNAME}.app/Contents/Info.plist"
cp -a "../${V_ICON}" "${V_APPNAME}.app/Contents/Resources/"
RES_PATH="${V_APPNAME}.app/Contents/Resources"
rm -f "${RES_PATH}/empty.lproj"
mkdir -p "${RES_PATH}/en.lproj" "${RES_PATH}/ru.lproj"
cp -a "../${V_ICON}" "${RES_PATH}/"
${CMD_DEPLOY} "${V_APPNAME}.app" -dmg -verbose=2
hdiutil convert -format UDRW -o "${V_APPNAME}_rw.dmg" "${V_APPNAME}.dmg"
......
......@@ -14,6 +14,9 @@ mkdir -p "${V_BUILDDIR}"
cd "${V_BUILDDIR}"
${CMD_QMAKE} CONFIG+="release" QMAKE_MACOSX_DEPLOYMENT_TARGET=10.6 "../${V_PROJECT}.pro"
make
RES_PATH="${V_APPNAME}.app/Contents/Resources"
rm -f "${RES_PATH}/empty.lproj"
mkdir -p "${RES_PATH}/en.lproj" "${RES_PATH}/ru.lproj"
${CMD_DEPLOY} "${V_APPNAME}.app" -dmg -verbose=2
hdiutil convert -format UDRW -o "${V_APPNAME}_rw.dmg" "${V_APPNAME}.dmg"
......
......@@ -15,6 +15,9 @@ cd "${V_BUILDDIR}"
${CMD_QMAKE} CONFIG+="release" QMAKE_MACOSX_DEPLOYMENT_TARGET=10.8 "../${V_PROJECT}.pro"
make
sed -e 's/10.6.0/10.8.0/' -i "" "${V_APPNAME}.app/Contents/Info.plist"
RES_PATH="${V_APPNAME}.app/Contents/Resources"
rm -f "${RES_PATH}/empty.lproj"
mkdir -p "${RES_PATH}/en.lproj" "${RES_PATH}/ru.lproj"
${CMD_DEPLOY} "${V_APPNAME}.app" -dmg -verbose=2
hdiutil convert -format UDRW -o "${V_APPNAME}_rw.dmg" "${V_APPNAME}.dmg"
......
......@@ -11,7 +11,7 @@
<key>CFBundleIconFile</key>
<string>fem_draw.icns</string>
<key>CFBundleIdentifier</key>
<string>ru.codefreak.fem_draw</string>
<string>ru.codefreak.fami.fem_draw</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
......@@ -35,7 +35,7 @@
<key>LSMinimumSystemVersion</key>
<string>10.6.0</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright (c) 2014-2016, Peter Zhigalov</string>
<string>(c) Peter Zhigalov, 2014-2016</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
......
......@@ -8,10 +8,10 @@ IDI_ICON1 ICON DISCARDABLE "../resources/icon.ico"
#define VER_PRODUCTVERSION_STR "1.7\0"
#define VER_FILEDESCRIPTION_STR "Tool for plot scalar and vector fields"
#define VER_INTERNALNAME_STR "fem_draw_qt"
#define VER_LEGALCOPYRIGHT_STR "Copyright (c) 2014-2016, Peter Zhigalov"
#define VER_LEGALCOPYRIGHT_STR "(c) Peter Zhigalov, 2014-2016"
#define VER_ORIGINALFILENAME_STR "fem_draw_qt.exe"
#define VER_PRODUCTNAME_STR "FEM Draw (Qt)"
#define VER_COMPANYNAME_STR "Peter Zhigalov"
#define VER_COMPANYNAME_STR "FAMI Net Team"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
......
......@@ -25,10 +25,10 @@ END
#define VER_PRODUCTVERSION_STR "1.7\0"
#define VER_FILEDESCRIPTION_STR "Tool for plot scalar and vector fields"
#define VER_INTERNALNAME_STR "fem_draw_winapi"
#define VER_LEGALCOPYRIGHT_STR "Copyright (c) 2014-2016, Peter Zhigalov"
#define VER_LEGALCOPYRIGHT_STR "(c) Peter Zhigalov, 2014-2016"
#define VER_ORIGINALFILENAME_STR "fem_draw_winapi.exe"
#define VER_PRODUCTNAME_STR "FEM Draw (WinAPI)"
#define VER_COMPANYNAME_STR "Peter Zhigalov"
#define VER_COMPANYNAME_STR "FAMI Net Team"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment