Skip to content

Commit

Permalink
Merge pull request #54 from felipealfonsog/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
felipealfonsog authored Sep 14, 2023
2 parents 493acc4 + fa07874 commit a5d0fea
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
13.03.2023
installer.py:
Added Command-Line Argument Handling: Implemented command-line argument handling to support different installation options.
Improved User Messages: Enhanced user messages and prompts for better clarity during installation.
Added Error Handling: Implemented error handling to gracefully handle potential installation issues.
Renamed Binary Files: Renamed the binary files to 'termpdf-linux' and 'termpdf-macos' for clarity.
Added Permissions Setting: Added a function to set executable permissions for the installed 'termpdf.py' script.
Improved OS Detection: Enhanced the detection of the operating system for proper installation paths.
Consolidated Installation Steps: Consolidated installation steps into a single script for ease of use.
Cleaned Up Code: Performed code clean-up and formatting for readability.

termpdf.py:
Updated Command-Line Interface: Improved the command-line interface to support additional options for PDF viewing.
Added PDF Navigation Features: Added features for navigating through PDF documents, including moving forward and backward through pages.
Enhanced User Interface: Enhanced the user interface for a more user-friendly experience.
Improved PDF Rendering: Improved the rendering of PDF documents for better clarity.
Added Page Number Display: Added display of the current page number for reference.
Enhanced Error Handling: Implemented better error handling to handle unexpected situations gracefully.
Updated Documentation: Updated the documentation to reflect new features and usage.

installer.sh:
Improved User Messages: Enhanced user messages and prompts for better clarity during installation.
Added Permissions Setting: Added a function to set executable permissions for the installed 'termpdf.py' script.
Modified Installation Path: Adjusted the installation path to '/usr/local/bin' for macOS.
Added macOS Compatibility: Included macOS as a supported platform for installation.
Updated Dependency Checks: Checked for the presence of Python and pip before attempting installation.
Cleaned Up Code: Performed code clean-up and formatting for readability.
These changes aim to improve the installation process and the user experience when using the TermPDF Viewer.

2 changes: 1 addition & 1 deletion src/installer.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def install_term_pdf():

source_file = 'src/termpdf.py'
source_file = 'https://github.com/felipealfonsog/TermPDFViewer/raw/main/src/termpdf.py'

if platform.system() == 'Darwin': # macOS
programs_directory = '/usr/local/bin'
Expand Down

0 comments on commit a5d0fea

Please sign in to comment.