Nextion Editor 0.43

Informations

Créateur Messages
klukonin Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 792
Wine: 1.8-staging

Retours d'expérience

Description

Nextion's easy-to-use configuration software, Nextion Editor, makes the pieces of your process interface seamlessly. It’s the answer to your most demanding application requirements. Nextion Editor provides an integrated software development platform for all the Nextion family.

Appdb.winehq.org

Code source

#!/bin/bash
# Date : (2017-02-15)
# Distribution used to test : Ubuntu 16.04 64 bit
# Author : Lukonin Kirill
# Licence : GPLv3
# PlayOnLinux: 4.2.9
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="Nextion"
WINEVERSION="1.8-staging"
TITLE="Nextion Editor"
EDITOR="ITEAD Studio"
AUTHOR="Lukonin Kirill"
LINK="http://dl.itead.cc/Nextion/nextion-setup-v043.zip"
MD5="97cd776536437a9b59421019092200f0"
#Initialization
POL_SetupWindow_Init
POL_Debug_Init
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$AUTHOR" "$PREFIX"
    
POL_SetupWindow_message "$(eval_gettext 'IMPORTANT: This program may work not well on Linux. Be careful.You also need to run command with SUDO. Please follow the instructions. Use middle mouse button to copy-paste terminal text')" "$TITLE"

# Just a solution to install dotnet30 clearly  
POL_Call POL_Function_RootCommand "echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope; exit"
  
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"
  
# Component_inslallation
POL_Call POL_Install_corefonts
Set_OS "win7"
POL_Call POL_Install_dotnet45
Set_OS "winxp"
POL_Call POL_Install_ie8
  
  
# Installing software
POL_System_TmpCreate "$PREFIX"
mkdir ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion
cd "$POL_System_TmpDir"
POL_Download "$LINK" "$MD5"
unzip nextion-setup-v*.zip
mv -f Nextion\ Editor ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion

# Making USB_Serial to work. 5 adapters ought to be enough for anybody =)))
ln -s /dev/ttyUSB0 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com0
ln -s /dev/ttyUSB1 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com1
ln -s /dev/ttyUSB2 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com2
ln -s /dev/ttyUSB3 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com3
ln -s /dev/ttyUSB4 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com4

 
# Delete TMP folder
POL_System_TmpDelete
  
# Create Shortcuts
POL_Shortcut "Nextion Editor.exe" "$TITLE"
         
POL_SetupWindow_Close
exit 0 

Contributions

Filters:

Contribuer
Membre Messages
klukonin Mercredi 15 Février 2017 à 7:08
klukonin Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -0,0 +1,66 @@
+#!/bin/bash
+# Date : (2017-02-15)
+# Distribution used to test : Ubuntu 16.04 64 bit
+# Author : Lukonin Kirill
+# Licence : GPLv3
+# PlayOnLinux: 4.2.9
+  
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+PREFIX="Nextion"
+WINEVERSION="1.8-staging"
+TITLE="Nextion Editor"
+EDITOR="ITEAD Studio"
+AUTHOR="Lukonin Kirill"
+LINK="http://dl.itead.cc/Nextion/nextion-setup-v043.zip"
+MD5="97cd776536437a9b59421019092200f0"
+#Initialization
+POL_SetupWindow_Init
+POL_Debug_Init
+  
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$AUTHOR" "$PREFIX"
+    
+POL_SetupWindow_message "$(eval_gettext 'IMPORTANT: This program may work not well on Linux. Be careful.You also need to run command with SUDO. Please follow the instructions. Use middle mouse button to copy-paste terminal text')" "$TITLE"
+
+# Just a solution to install dotnet30 clearly  
+POL_Call POL_Function_RootCommand "echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope; exit"
+  
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+Set_OS "win7"
+  
+# Component_inslallation
+POL_Call POL_Install_corefonts
+Set_OS "win7"
+POL_Call POL_Install_dotnet45
+Set_OS "winxp"
+POL_Call POL_Install_ie8
+  
+  
+# Installing software
+POL_System_TmpCreate "$PREFIX"
+mkdir ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion
+cd "$POL_System_TmpDir"
+POL_Download "$LINK" "$MD5"
+unzip nextion-setup-v*.zip
+mv -f Nextion\ Editor ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion
+
+# Making USB_Serial to work. 5 adapters ought to be enough for anybody =)))
+ln -s /dev/ttyUSB0 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com0
+ln -s /dev/ttyUSB1 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com1
+ln -s /dev/ttyUSB2 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com2
+ln -s /dev/ttyUSB3 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com3
+ln -s /dev/ttyUSB4 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com4
+
+ 
+# Delete TMP folder
+POL_System_TmpDelete
+  
+# Create Shortcuts
+POL_Shortcut "Nextion Editor.exe" "$TITLE"
+         
+POL_SetupWindow_Close
+exit 0 

Nouveau code source

#!/bin/bash
# Date : (2017-02-15)
# Distribution used to test : Ubuntu 16.04 64 bit
# Author : Lukonin Kirill
# Licence : GPLv3
# PlayOnLinux: 4.2.9
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="Nextion"
WINEVERSION="1.8-staging"
TITLE="Nextion Editor"
EDITOR="ITEAD Studio"
AUTHOR="Lukonin Kirill"
LINK="http://dl.itead.cc/Nextion/nextion-setup-v043.zip"
MD5="97cd776536437a9b59421019092200f0"
#Initialization
POL_SetupWindow_Init
POL_Debug_Init
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$AUTHOR" "$PREFIX"
    
POL_SetupWindow_message "$(eval_gettext 'IMPORTANT: This program may work not well on Linux. Be careful.You also need to run command with SUDO. Please follow the instructions. Use middle mouse button to copy-paste terminal text')" "$TITLE"

# Just a solution to install dotnet30 clearly  
POL_Call POL_Function_RootCommand "echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope; exit"
  
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"
  
# Component_inslallation
POL_Call POL_Install_corefonts
Set_OS "win7"
POL_Call POL_Install_dotnet45
Set_OS "winxp"
POL_Call POL_Install_ie8
  
  
# Installing software
POL_System_TmpCreate "$PREFIX"
mkdir ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion
cd "$POL_System_TmpDir"
POL_Download "$LINK" "$MD5"
unzip nextion-setup-v*.zip
mv -f Nextion\ Editor ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion

# Making USB_Serial to work. 5 adapters ought to be enough for anybody =)))
ln -s /dev/ttyUSB0 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com0
ln -s /dev/ttyUSB1 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com1
ln -s /dev/ttyUSB2 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com2
ln -s /dev/ttyUSB3 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com3
ln -s /dev/ttyUSB4 ~/.PlayOnLinux/wineprefix/Nextion/dosdevices/com4

 
# Delete TMP folder
POL_System_TmpDelete
  
# Create Shortcuts
POL_Shortcut "Nextion Editor.exe" "$TITLE"
         
POL_SetupWindow_Close
exit 0 

Réponses

Anonymous
Mardi 21 Février 2017 à 12:24
It's not enough to make the symbolic links, as far as I experienced it. I had to add the corresponding entries in the wine registry, so that the nextion editor can see these.
Anonymous
Mardi 21 Février 2017 à 12:58
Tried this script just now and it failed. The Nextion software was not installed and I couldn't find any trace of the download in the Tmp directory. Fortunately, I have a backup of my working wine prefix... ;-)
klukonin Mardi 14 Février 2017 à 16:09
klukonin Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,57 @@
+#!/bin/bash
+# Date : (2015-12-09)
+# Distribution used to test : Ubuntu 14.04 64 bit
+# Author : Lukonin Kirill
+# Licence : GPLv3
+# PlayOnLinux: 4.2.9
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="Nextion"
+WINEVERSION="1.8-staging"
+TITLE="Nextion Editor"
+EDITOR="ITEAD Studio"
+AUTHOR="Lukonin Kirill"
+LINK="http://dl.itead.cc/Nextion/nextion-setup-v043.zip"
+MD5="97cd776536437a9b59421019092200f0"
+#Initialization
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+#Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$AUTHOR" "$PREFIX"
+   
+POL_SetupWindow_message "$(eval_gettext 'IMPORTANT: This program may work not well on Linux. Be careful.You also need to run command with SUDO. Please follow the instructions. Use middle mouse button to copy-paste terminal text')" "$TITLE"
+ 
+POL_Call POL_Function_RootCommand "echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope; exit"
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+Set_OS "win7"
+ 
+# Component_inslallation
+POL_Call POL_Install_corefonts
+Set_OS "win7"
+POL_Call POL_Install_dotnet45
+Set_OS "winxp"
+POL_Call POL_Install_ie8
+ 
+ 
+#Saftware installation
+POL_System_TmpCreate "$PREFIX"
+mkdir ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion
+cd "$POL_System_TmpDir"
+POL_Download "$LINK" "$MD5"
+unzip nextion-setup-v*.zip
+mv -f Nextion\ Editor ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion       
+ 
+#Delete TMP folder
+POL_System_TmpDelete
+ 
+# Create Shortcuts
+POL_Shortcut "Nextion Editor.exe" "$TITLE"
+        
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-12-09)
# Distribution used to test : Ubuntu 14.04 64 bit
# Author : Lukonin Kirill
# Licence : GPLv3
# PlayOnLinux: 4.2.9
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Nextion"
WINEVERSION="1.8-staging"
TITLE="Nextion Editor"
EDITOR="ITEAD Studio"
AUTHOR="Lukonin Kirill"
LINK="http://dl.itead.cc/Nextion/nextion-setup-v043.zip"
MD5="97cd776536437a9b59421019092200f0"
#Initialization
POL_SetupWindow_Init
POL_Debug_Init
 
#Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$AUTHOR" "$PREFIX"
   
POL_SetupWindow_message "$(eval_gettext 'IMPORTANT: This program may work not well on Linux. Be careful.You also need to run command with SUDO. Please follow the instructions. Use middle mouse button to copy-paste terminal text')" "$TITLE"
 
POL_Call POL_Function_RootCommand "echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope; exit"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"
 
# Component_inslallation
POL_Call POL_Install_corefonts
Set_OS "win7"
POL_Call POL_Install_dotnet45
Set_OS "winxp"
POL_Call POL_Install_ie8
 
 
#Saftware installation
POL_System_TmpCreate "$PREFIX"
mkdir ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion
cd "$POL_System_TmpDir"
POL_Download "$LINK" "$MD5"
unzip nextion-setup-v*.zip
mv -f Nextion\ Editor ~/.PlayOnLinux/wineprefix/Nextion/drive_c/Nextion       
 
#Delete TMP folder
POL_System_TmpDelete
 
# Create Shortcuts
POL_Shortcut "Nextion Editor.exe" "$TITLE"
        
POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Mardi 21 Février 2017 à 12:19
You didn't yet take into account the registration of the COM port?
Anonymous
Mardi 21 Février 2017 à 12:23
I did.

The latest version is on the top of list.