Skip to content

Commit

Permalink
v0.5.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ksharindam committed Feb 3, 2025
1 parent 05ecd25 commit 31774fc
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 20 deletions.
6 changes: 5 additions & 1 deletion Windows/ChemCanvas.nsi
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; HM NIS Edit Wizard helper defines
!define PROG_NAME "ChemCanvas"
!define PROG_VERSION "0.4.1"
!define PROG_VERSION "0.5.1"
!define PROG_PUBLISHER "Arindamsoft"
!define PROG_ICON "chemcanvas.ico"
!define PROG_EXEC "chemcanvas.exe"
Expand Down Expand Up @@ -66,6 +66,10 @@ VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Arindam Chaudhuri <arind
!define QTPLUGINS_DIR "dist\chemcanvas\_internal\PyQt5\Qt5\plugins"

Section "MainSection" SEC01
; Delete files from previous version
RMDir /r "$INSTDIR\_internal"

; Install this version
SetOutPath "$INSTDIR"
SetOverwrite try
;File /r /x "bin" /x "plugins" "${BUILDDIR}\_internal"
Expand Down
2 changes: 1 addition & 1 deletion Windows/chemcanvas.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: python ; coding: utf-8 -*-

# Usage : pyinstaller chemcanvas.spec

a = Analysis(
['../chemcanvas/main.py'],
Expand Down
8 changes: 4 additions & 4 deletions Windows/version_info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
VSVersionInfo(
ffi=FixedFileInfo(
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
filevers=(0, 4, 1, 0),
prodvers=(0, 4, 1, 0),
filevers=(0, 5, 1, 0),
prodvers=(0, 5, 1, 0),
# Do not touch these values
mask=0x0,
flags=0x0,
Expand All @@ -22,10 +22,10 @@ VSVersionInfo(
StringTable(
'040904b0',
[StringStruct('FileDescription', 'ChemCanvas'),
StringStruct('FileVersion', '0.4.1'),
StringStruct('FileVersion', '0.5.1'),
StringStruct('LegalCopyright', 'Arindam Chaudhuri <[email protected]>'),
StringStruct('ProductName', 'ChemCanvas'),
StringStruct('ProductVersion', '0.4.1')]),
StringStruct('ProductVersion', '0.5.1')]),
StringStruct('CompanyName', 'Arindamsoft')
]),
VarFileInfo([VarStruct('Translation', [1033, 1200])])
Expand Down
28 changes: 14 additions & 14 deletions chemcanvas/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1982,27 +1982,27 @@ def tool_class(name):
],
"MarkTool" : [
["ButtonGroup", "mark_type", [
("charge_plus", "Positive Charge", "charge-plus"),
("charge_minus", "Negative Charge", "charge-minus"),
("charge_circledplus", "Positive Charge", "charge-circledplus"),
("charge_circledminus", "Negative Charge", "charge-circledminus"),
("charge_deltaplus", "Positive Charge", "charge-deltaplus"),
("charge_deltaminus", "Negative Charge", "charge-deltaminus"),
("electron_pair", "Lone Pair", "electron-pair"),
("electron_single", "Single Electron/Radical", "electron-single"),
("isotope", "Isotope Number", "isotope"),
("DeleteMark", "Delete Mark", "delete"),
('charge_plus', "Positive Charge", "charge-plus"),
('charge_minus', "Negative Charge", "charge-minus"),
('charge_circledplus', "Positive Charge", "charge-circledplus"),
('charge_circledminus', "Negative Charge", "charge-circledminus"),
('charge_deltaplus', "Positive Charge", "charge-deltaplus"),
('charge_deltaminus', "Negative Charge", "charge-deltaminus"),
('electron_pair', "Lone Pair", "electron-pair"),
('electron_single', "Single Electron/Radical", "electron-single"),
('isotope', "Isotope Number", "isotope"),
('DeleteMark', "Delete Mark", "delete"),
]]
],
"PlusTool" : [
["Label", "Size : ", None],
["SpinBox", "size", (6, 72)],
],
"BracketTool" : [
["ButtonGroup", "bracket_type",
[("square", "Square Bracket", "bracket-square"),
("curly", "Curly Bracket", "bracket-curly"),
("round", "Round Bracket", "bracket-round"),
["ButtonGroup", 'bracket_type',
[('square', "Square Bracket", "bracket-square"),
('curly', "Curly Bracket", "bracket-curly"),
('round', "Round Bracket", "bracket-round"),
]]
],
"TextTool" : [
Expand Down

0 comments on commit 31774fc

Please sign in to comment.