TextSweep

Check-in [1b3b2f81d2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Tweak software for GUI without console on Windows
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1b3b2f81d25ac4c59f2f96d5edf848d56b534f0c
User & Date: kevin 2018-06-05 03:12:40
Context
2019-11-18
02:56
Tweak icons check-in: fe05cfa61c user: kevin tags: trunk
2018-06-05
03:12
Tweak software for GUI without console on Windows check-in: 1b3b2f81d2 user: kevin tags: trunk
2018-05-14
12:23
Clear text when new directory added check-in: 3fad865399 user: kevin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to scriptlibs/regproc/regproc.tcl.

36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
36
37
38
39
40
41
42

43
44
45
46
47
48
49







-








    #set the 30-day clock for application/version
    proc setClock {} {
	variable datadir 
	variable appname
	variable appversion
	variable appstore
	puts "datadir is $datadir"

	set launchTime [clock seconds]
	set saveTime [open $datadir/$appname$appversion.dat w]
	puts $saveTime $launchTime
	close $saveTime
    }

250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
249
250
251
252
253
254
255


256
257
258
259
260
261
262







-
-







	for {set i 1} {$i < $count} {incr i 1} {

	    lappend serialbase [string toupper $appname]-[expr $i * 5]-[expr $i/11]-[expr $i - 1]-[string toupper [string trim [string range $appname 0 1]]]
	}
	

	set output [lsearch  -inline $serialbase $serial]
	puts $serial
	puts $output
	
	if {$output >= 0} {
	    cd $datadir
	    set lic [open $datadir/lic.dat w]
	    puts $lic "$serial"
	    close $lic
		grab release .number