The forum

[SCRIPT] LT Spice IV

Author Replies
jbrazio Monday 6 April 2015 at 17:15
jbrazioAnonymous

Linear Technology provides a variety of custom design simulation tools and device models to allow even novice designers to quickly and easily evaluate circuits using high performance switching regulators, amplifiers, data converters, filters and more.

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
# Date : (2015-04-06 13-43)
# Last revision : (2015-04-06 13-43)
# Wine version used : 1.6.2
# Distribution used to test : Ubuntu 14.04 LTS
# Author : João Brázio <joao@brazio.org>
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "${PLAYONLINUX}/lib/sources"
 
TITLE="LT Spice IV"
PREFIX="LTSpiceIV"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "${TITLE}" "Linear Technology" "http://www.linear.com/designtools/software/" "João Brázio <joao@brazio.org>" "${PREFIX}"
 
POL_Wine_SelectPrefix "${PREFIX}"
if [ "$(POL_Wine_PrefixExists "${PREFIX}")" = "False" ]; then
    POL_Wine_PrefixCreate
fi
 
Set_OS "win7"
POL_System_SetArch "x86"
 
POL_Wine_InstallFonts
POL_Call POL_Function_FontsSmoothRGB
 
POL_System_TmpCreate "${PREFIX}"
cd "${POL_System_TmpDir}"
 
POL_Download "${INSTALLER_DOWNLOAD}"
POL_SetupWindow_wait "$(eval_gettext 'IInstallation in progress.')" "$TITLE"
POL_Wine start /unix "${POL_System_TmpDir}/LTspiceIV.exe"
POL_Wine_WaitExit "${TITLE}"
 
POL_Shortcut "scad3.exe" "$TITLE" "" "" "Development;Engineering;Electronics;"
POL_Extension_Write asc "$TITLE"
 
POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITLE"
 
[ -d "${POL_System_TmpDir}" ] && POL_System_TmpDelete
POL_SetupWindow_Close
 
exit

 

For icons, screenshots and latest version of the script visit this Github page.

Edited by jbrazio

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca@playonlinux.com