Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Emdek committed Jan 1, 2019
1 parent d11c4a1 commit 830a982
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
12 changes: 3 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,10 @@ project(otter-browser)

set(MAJOR_VERSION "1")
set(MINOR_VERSION "0")
set(PATCH_VERSION "81")
set(PATCH_VERSION "01")
set(WEEKLY_VERSION "" CACHE STRING "")

add_definitions(-DOTTER_VERSION_MAIN="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" -DOTTER_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")

if ("${WEEKLY_VERSION}" STREQUAL "")
add_definitions(-DOTTER_VERSION_CONTEXT="-dev" -DOTTER_VERSION_WEEKLY=" ")
else ()
add_definitions(-DOTTER_VERSION_CONTEXT=" weekly ${WEEKLY_VERSION}" -DOTTER_VERSION_WEEKLY="${WEEKLY_VERSION}")
endif ()
add_definitions(-DOTTER_VERSION_MAIN="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" -DOTTER_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}" -DOTTER_VERSION_CONTEXT=" " -DOTTER_VERSION_WEEKLY=" ")

if (EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
include(InstallRequiredSystemLibraries)
Expand Down Expand Up @@ -501,7 +495,7 @@ elseif (APPLE)
set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION})
set(MACOSX_BUNDLE_ICON_FILE otter-browser.icns)
set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.otter-browser.otter-browser")
set(MACOSX_BUNDLE_COPYRIGHT "Copyright (C) 2013-2018 Otter Browser Team. All rights reserved.")
set(MACOSX_BUNDLE_COPYRIGHT "Copyright (C) 2013-2019 Otter Browser Team. All rights reserved.")
set(otter_src
${otter_src}
src/modules/platforms/mac/MacPlatformIntegration.mm
Expand Down
10 changes: 5 additions & 5 deletions otter-browser.rc
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ IDI_ICON1 ICON DISCARDABLE "resources/icons/otter-browser.ico"
IDI_ICON2 ICON DISCARDABLE "resources/icons/otter-browser-file-type.ico"

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,8,1
PRODUCTVERSION 1,0,8,1
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Otter Browser Team"
VALUE "FileDescription", "Otter Browser"
VALUE "FileVersion", "1.0.81"
VALUE "FileVersion", "1.0.01"
VALUE "InternalName", "otter-browser"
VALUE "LegalCopyright", "Copyright (C) 2013-2018 Otter Browser Team"
VALUE "LegalCopyright", "Copyright (C) 2013-2019 Otter Browser Team"
VALUE "OriginalFilename", "otter-browser.exe"
VALUE "ProductName", "Otter Browser"
VALUE "ProductVersion", "1.0.81"
VALUE "ProductVersion", "1.0.01"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 830a982

Please sign in to comment.