Comments (6)
Hi! I added portable directive to code.
{$define portable}
from unboundbible.
Hello! I use daily UnboundBible under Windows, on a USB key. My bibles are in <UnboundBibleDirectory>/bibles/
, and it works well. So, I would say that UB is already portable.
from unboundbible.
Hello! I use daily UnboundBible under Windows, on a USB key. My bibles are in
<UnboundBibleDirectory>/bibles/
, and it works well. So, I would say that UB is already portable.
Thank you for the answer. God bless you. I Will make a Portable Apps version If It is possible.
from unboundbible.
God bless you.
Amen!
I Will make a Portable Apps version If It is possible.
I think we just need to put the executable in a ZIP file or in a self-extracting archive. (I don't think that the Portable Apps system be really useful in that case).
I will take a look ASAP. (For me I use Linux.)
from unboundbible.
Finally I made a portable version of Unbound Bible. I hope that Vladimir doesn't mind.
You can find a package for Windows 32-bit here. I will upload a Linux version later.
The modification that I made in source code is very simple.
// unitutils.pas
function DataPath: string;
begin
(*
Result := GetUserDir + ApplicationName;
*)
Result := ExtractFilePath(ParamStr(0)) + 'data';
end;
(* ... *)
function ConfigPath: string;
begin
(*
{$ifdef windows} Result := LocalAppDataPath + ApplicationName; {$endif}
{$ifdef unix} Result := GetUserDir + '.config/unboundbible'; {$endif}
*)
Result := ExtractFilePath(ParamStr(0)) + 'config';
@pepaulo
Please let me know if this is what you needed.
Best regards.
Roland
from unboundbible.
Good! So I think I can delete the Sourceforge page that I had created.
from unboundbible.
Related Issues (12)
- Display in 15" old laptop HOT 5
- Aplicativo de Bíblia maravilhoso! HOT 2
- Switch Localization to Lazarus builtin i18n HOT 3
- Connection failed HOT 7
- The bible books list isn't in the select language when it use the MySword modules. HOT 1
- How to include bibles in other languages HOT 2
- Source code of release 5.1 cannot be compiled HOT 5
- Feature suggestion: a button to uninstall bibles HOT 11
- Address bar HOT 1
- Build instructions HOT 1
- Do you know the Crosswire projet? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unboundbible.