Community
    • Login

    How to compile and sign Notepad++ ?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 508 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pnedevP
      pnedev
      last edited by

      Hi guys,

      Sorry if I’m asking a question that has already been asked (I couldn’t find a similar thread) but how can I build my custom notepad++.exe now that it needs signing (or how can I sign my custom build) ?

      BR

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @pnedev
        last edited by

        @pnedev

        This might have been replied to before the site migration, and earlier replies lost.

        This isn’t an answer (sorry for that), but why do you need to do this signing? Knowing that may help get you better replies.

        1 Reply Last reply Reply Quote 1
        • EkopalypseE
          Ekopalypse
          last edited by Ekopalypse

          This is a nice example what happens if post gets lost.
          The question is open but all the answers and subsequent posts clarifying
          the question and needs are gone :-)
          At the end there was nothing left to say - all discussed to the end.

          1 Reply Last reply Reply Quote 3
          • pnedevP
            pnedev
            last edited by

            @Alan-Kilborn ,

            As @Ekopalypse said the bigger part of the thread is lost during the transition to the new site.

            To make the long story short, I wanted to play a bit with the NUL-ified file contents on sudden reboot / power loss.
            There was no need for signing and I couldn’t build it on my own because I don’t have recent Visual Studio but I used the automatic integration (AppVeyor) to help with that.

            I made this PR (https://github.com/notepad-plus-plus/notepad-plus-plus/pull/6164) which hopefully fixes the issue.
            I don’t think much more can be done without further complications. Just to note that config and session files are still prone to the NUL problem because I didn’t want to introduce changes to TinyXML lib code at this point.

            If this PR gets merged only time will tell if the issue if fixed. If it doesn’t appear again a new patch can be made that uses the same Win32 file API to save also the configs and session files (making their saving safer as well).
            I would also use that same API to load files removing totally C run-time APIs but let’s make things one step at a time. Otherwise changes will be difficult to review and to get merged.

            This topic can be closed / locked.

            1 Reply Last reply Reply Quote 3
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors