Git Product home page Git Product logo

Comments (6)

RandScullard avatar RandScullard commented on May 24, 2024

When I deploy to another machine, I copy the entire photo-screen-saver\package\photo-screen-saver-win32-x64 folder tree to the destination machine. I think if you do that, everything will work fine.

from photo-screen-saver.

MickyRocket avatar MickyRocket commented on May 24, 2024

Yep I get that, but if you want to install a screensaver in the system32-folder, you don't want to spam it with the whole package-files. I would rather prefer to store the screensaver-package in some more adequate place for it on the harddrive, and then have a .scr-file to execute it in the system32-folder. Do you maybe have any idea oh how to achieve this?

from photo-screen-saver.

RandScullard avatar RandScullard commented on May 24, 2024

Why do you want to put it in system32? I just put everything in a folder under Program Files.

from photo-screen-saver.

MickyRocket avatar MickyRocket commented on May 24, 2024

It is possible to place the whole package somewhere on the harddrive and the install the .scr-file. I already know about that. But if a user once selects another screensaver and closes the screensaver-settings the screensaver disappears from the list of all screensavers to chose from. And if he wants to activate it again he needs to reinstall the .scr-file which is not really user-friendly. To avoid this it is necessary to put the .scr-file into the system32-folder... Then the screensaver will always be listed in the list...

from photo-screen-saver.

RandScullard avatar RandScullard commented on May 24, 2024

Oh, I see. That wasn't a scenario I've needed to deal with so far. I'll leave this issue open in case anyone else has a suggestion.

from photo-screen-saver.

RandScullard avatar RandScullard commented on May 24, 2024

Based on my research, Windows is hard-coded to build the list of screen savers in the Screen Saver Settings window from the set of .scr files in the following folders:

  • Windows
  • Windows\System32
  • Windows\SysWOW64

Electron requires that all generated files live in the same folder as the .scr file, so if you put the .scr file in one of these folders, you'd have to put all the other files from photo-screen-saver-win32-x64 in there too. I would not recommend doing this.

If you really want to solve this, you could code up a small executable named "Photo Screen Saver.scr" that just executes photo-screen-saver.exe from the photo-screen-saver-win32-x64 folder. Put it in your System32 folder and it will show up in the list.

from photo-screen-saver.

Related Issues (6)

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.