Git Product home page Git Product logo

Comments (7)

MScholtes avatar MScholtes commented on August 16, 2024

Hello Matthew,

without checking, I think it would be possible to realise this. But I don't see the point of doing this, because why isn't the splash screen generated by the powershell script? This would be a better place for it.

Greetings

Markus

from ps2exe.

scriptingstudio avatar scriptingstudio commented on August 16, 2024

Because starting PS host and loading the script may take relatively long time. And the splash should come before that.

from ps2exe.

scriptingstudio avatar scriptingstudio commented on August 16, 2024

Correct me if I am wrong. PS script is packed in EXE, I could not see open text. So unpacking takes time too.

from ps2exe.

MScholtes avatar MScholtes commented on August 16, 2024

Hello Matthew,

I can't see how starting a compiled script would take so long that it would be worth displaying a splash screen. How big is your script?

Greetings

Markus

from ps2exe.

scriptingstudio avatar scriptingstudio commented on August 16, 2024

My scripts are usually of 500-1500 lines, including comments, plus I embed libraries like EPPLUS. Before compilation I remove all non-code lines. Result EXE is 300-500 KB. Loading takes 3-6 sec. It seems to me long. Or am I too picky?

from ps2exe.

MScholtes avatar MScholtes commented on August 16, 2024

Hello Matthew,

I can't recreate your problem unfortunately, when I start a comparably sized script I get an output immediately. What happens if you don't load the libraries or insert a Write-Output command before loading the librairies?

Greetings

Markus

from ps2exe.

scriptingstudio avatar scriptingstudio commented on August 16, 2024

Hello Markus,

Thanks for an idea to profile a loading.

I did tests to measure loading times.
PS host start takes a sec or so. GUI initialization takes less than a sec. So total time is at most 2-3 secs.

You were right, splash screen is overkill.

from ps2exe.

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.