Giter VIP home page Giter VIP logo

Comments (3)

thw26 avatar thw26 commented on July 21, 2024

NOTE: config.LOGOS_EXE is using an absolute path and needs to be relativized for this to be completed.

from logoslinuxinstaller.

thw26 avatar thw26 commented on July 21, 2024

A better approach might be a check on program start up (if an install is found at the config location) that verifies if the symlinks match the correct directory, and if not it auto-sets them to the appropriate directory.

Of course, the only problem with this is if someone does in fact want these to be different.

from logoslinuxinstaller.

thw26 avatar thw26 commented on July 21, 2024

Example for my current install, showing the problem:

ll ~/Applications/LogosBible10/data/wine64_bottle/drive_c/users/thwright/
total 36K
drwxr-xr-x 9 thwright thwright 4.0K Jun 16  2023  ./
drwxr-xr-x 5 thwright thwright 4.0K Jun 16  2023  ../
drwxr-xr-x 5 thwright thwright 4.0K Jun 16  2023  AppData/
drwxr-xr-x 2 thwright thwright 4.0K Jun 16  2023  Contacts/
lrwxrwxrwx 1 thwright thwright   22 Jun 16  2023  Desktop -> /home/thwright/Desktop/
lrwxrwxrwx 1 thwright thwright   15 Jun 16  2023  Documents -> /home/thwright//
lrwxrwxrwx 1 thwright thwright   24 Jun 16  2023  Downloads -> /home/thwright/Downloads/
drwxr-xr-x 2 thwright thwright 4.0K Jun 16  2023  Favorites/
drwxr-xr-x 2 thwright thwright 4.0K Jun 16  2023  Links/
lrwxrwxrwx 1 thwright thwright   15 Jun 16  2023  Music -> /home/thwright//
lrwxrwxrwx 1 thwright thwright   15 Jun 16  2023  Pictures -> /home/thwright//
drwxr-xr-x 2 thwright thwright 4.0K Jun 16  2023 'Saved Games'/
drwxr-xr-x 2 thwright thwright 4.0K Jun 16  2023  Searches/
drwxr-xr-x 2 thwright thwright 4.0K Jun 16  2023  Temp/
lrwxrwxrwx 1 thwright thwright   15 Jun 16  2023  Videos -> /home

As can be seen, my install is in ~/Applications but the symlinks are not pointed to the proper directory.

In the original request, the symlinks became broken, as in nonexistent, whereas these exist but are pointing to the wrong directories.

We would need to agree on where the directories should be pointing. Should it be a directory in the ~/Logos dir or the wine default of the user's environment?

Looking at this, I am not sure why these symlinks would have broken, but I remember the directories being regenerated.

Notably, one part of this issue is that the missing symlinks are actually symlink dirs for my install. That is, /home/thwright/Music is a symlink to /storage/Music. The symlink creation may be failing here because it is a symlink of a symlink, which seems more likely at this point.

from logoslinuxinstaller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.