* * *

Author Topic: Launcher for Lazarus portable  (Read 886 times)

ezlage

  • Full Member
  • ***
  • Posts: 248
  • (Silêncio)
Launcher for Lazarus portable
« on: May 16, 2017, 03:05:29 pm »
Friends,

I built an application to make it easy to use Lazarus in portable mode, especially on those (Windows) computers where we do not have administrative privileges.

Initially, the application looks for *.* in the directory where it is, then replaces "FirstPath" and "LastPath" with "CurrentPath". I believe it is possible to reduce the time by replacing the mask with one that returns only the necessary files to change, such as *.xml.

What exactly are the files (or masks) that store the settings I need to worry about?
« Last Edit: May 16, 2017, 03:10:10 pm by ezlage »
Sorry by my poor english.

Atenciosamente,

Ezequiel Lage
lagezq@gmail.com

ezlage

  • Full Member
  • ***
  • Posts: 248
  • (Silêncio)
Re: Launcher for Lazarus portable
« Reply #1 on: May 20, 2017, 12:01:12 am »
Listed below are all the file extensions I found in the Lazarus folder.

(There are files without extension)
0
1
2
3
4
5
6
8
9
12
99
a
ADDON
af_ZA
ah
ahk
ar
as
asm
awk
bat
bdsgroup
bdsproj
bgf
bin
blue
bmp
bowerrc
bpg
c
ca
cairo
cat
cbproj
cfg
chm
cnt
cod
compiled
config
cpp
cpu
cs
css
cur
dat
data
db
db3
dbf
dci
dcr
de
Debian
def
des_ks_struct
desktop
dfm
diff
dll
doc-base
dof
dot
dpk
dpr
dproj
drc
dsk
dtd
editorconfig
en
errore
es
exe
fbk
fi
files
fnc
fpc
fpcmake
fpd
fpm
fr
frm
gdb
GID
gif
gitattributes
gitignore
gitmodules
glade
GPL
green
grit
groupproj
h
hbs
he
hfp
hhc
hhk
hlp
htaccess
htm
html
hu
icns
ico
id
identcache
ijg
imn
imp
in
inc
ini
install
instructions
isl
iso
iss
it
ja
java
jpg
js
jshintrc
json
kof
kwd
kwf
lazarus
lfm
LGPL
links
local
lpi
lpk
lpl
lpr
lps
lrf
lrs
lrt
lst
lt
main
mak
manifest
manpages
mbf
mc
md
mdb
mdx
menu
mo
mod
modifiedLGPL
mp3
msg
MYD
MYI
NAF
next
nl
no
nsi
o
odg
odp
ods
odt
old
old2
one
or
p12
packproj
pas
patch
pb
pcx
pdf
pem
pew
pfx
php
pl
plist
png
po
postinst
postrm
pot
pp
pp_disabled
ppk
ppm
ppr
ppu
prerm
prog
properties
pt
pt_BR
raw
rc
rdp
README
Readme1st
red
ref
reg
res
rexx
rops
rsj
rst
rtf
ru
RUS
s
s3m
sample
scf
scss
se
sed
sh
sk
source
spec
sqd
sql
ssx
ssy
stb
svg
sys
tcl
template
templates
test
tex
tga
tgs
tgw
tr
ttf
tvsconfig
two
txt
uk
uml
url
utf8
wav
wri
xbm
xct
xfm
xls
xm
xml
xpm
xsd
xsl
yo-rc
zbd
zh_CN
zip
Sorry by my poor english.

Atenciosamente,

Ezequiel Lage
lagezq@gmail.com

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5643
Re: Launcher for Lazarus portable
« Reply #2 on: May 20, 2017, 12:05:07 am »
Afaik you can make a lot of paths dependent on $(lazarusdir) and then pass that to lazarus using --lazarus-dir=c:\xxx.

Thaddy

  • Hero Member
  • *****
  • Posts: 4432
Re: Launcher for Lazarus portable
« Reply #3 on: May 20, 2017, 09:58:49 am »
Afaik you can make a lot of paths dependent on $(lazarusdir) and then pass that to lazarus using --lazarus-dir=c:\xxx.
Yup. And if it does not work like that, report it as a bug. Because it is meant to work like that.
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus